spawn

Function spawn 

Source
pub fn spawn<T: 'static>(
    fut: impl Future<Output = T> + 'static,
) -> JoinHandle<T>