pub fn spawn_async<F, T>(async_func: F) -> JoinHandle<T>Expand description
Spawn an async task and return a handle to it.
This is a convenience wrapper around tokio::spawn that works from both sync and async contexts.
pub fn spawn_async<F, T>(async_func: F) -> JoinHandle<T>Spawn an async task and return a handle to it.
This is a convenience wrapper around tokio::spawn that works from both sync and async contexts.