Skip to main content

spawn

Function spawn 

Source
pub fn spawn<Out>(
    name: &str,
    future: impl Future<Output = Out> + Send + 'static,
) -> MustJoinHandle<Out> 
where Out: Send + 'static,