Skip to main content

fn.spawn

pub fn spawn<F>(task: F) where
    F: Future + Send + 'static,
    F::Output: Send + 'static, 

Spawn a future onto the runtime.