Function provide_executor_scope
pub async fn provide_executor_scope<U>(fut: impl Future<Output = U>) -> U
Expand description
If running on wasm32
target, does nothing. Otherwise creates a new tokio::task::LocalSet
scope.
pub async fn provide_executor_scope<U>(fut: impl Future<Output = U>) -> U
If running on wasm32
target, does nothing. Otherwise creates a new tokio::task::LocalSet
scope.