Function spawn

Source
pub fn spawn<F>(fut: F) -> JoinHandle<<F as Future>::Output> 
where F: Future + Send + Sync + 'static, <F as Future>::Output: Send,