Skip to main content

spawn

Function spawn 

Source
pub fn spawn<F>(future: F) -> Handle<F::Output>
where F: Future + Send + 'static, F::Output: Send + 'static,
Available on crate feature coroutine only.
Expand description

Spawn a task onto the background runtime