Skip to main content

spawn

Function spawn 

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