Skip to main content

spawn_async

Function spawn_async 

Source
pub fn spawn_async<F>(future: F) -> TaskHandle<F::Output>
where F: Future + Send + 'static, F::Output: Send + 'static,
Expand description

Spawn an async task on the global runtime.