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
Here is an example using Rocket. This feature would really clean up my code base.
#[cached(result = true, time = 5, sync_writes = true, force_refresh = refresh)]// This is an example of how the macro could look#[get("/market-state?<refresh>")]pubasyncfnmarket_state(refresh:bool) -> ApiResult<(ContentType,String)>{// Do some async stuff}
The text was updated successfully, but these errors were encountered:
Here is an example using Rocket. This feature would really clean up my code base.
The text was updated successfully, but these errors were encountered: