You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi. In a web framework like axum you can have a shared state and share it via axum State to end points. What axum does is actually creating a clone of its state to requests. My question is:
Is it ok to clone StargateClient every time we want to use it? Is there any problem? any consideration over that?
The text was updated successfully, but these errors were encountered:
miladamery
changed the title
How to use StargateClient in webframe work like axum?
How to use StargateClient in web framework like axum?
May 18, 2024
Hi. In a web framework like axum you can have a shared state and share it via axum State to end points. What axum does is actually creating a clone of its state to requests. My question is:
Is it ok to clone StargateClient every time we want to use it? Is there any problem? any consideration over that?
The text was updated successfully, but these errors were encountered: