spawn

Function spawn 

Source
pub fn spawn<F, T>(fut: F) -> TaskHandle<T> 
where F: Future<Output = T> + 'static, T: 'static,
Expand description

Spawn a task