pub fn spawn_async<F, T>(future: F) -> AsyncJoinHandle<T>Expand description
Spawn an async future on the Tokio runtime.
The task participates in structured concurrency — the runtime waits for it before returning. Cancel via the returned handle.
pub fn spawn_async<F, T>(future: F) -> AsyncJoinHandle<T>Spawn an async future on the Tokio runtime.
The task participates in structured concurrency — the runtime waits for it before returning. Cancel via the returned handle.