Function spawn

Source
pub fn spawn<Ex, T, F>(handle: Ex, fut: F) -> Task<T> 
where T: 'static, F: 'static + Future<Output = T>, Ex: ExecutorHandle,