spawn_task

Function spawn_task 

Source
pub fn spawn_task<F: Future<Output = T> + Send + 'static, T: Send + 'static>(
    future: F,
) -> Task<T>