Skip to main content

spawn

Function spawn 

Source
pub fn spawn<F>(f: F) -> JoinHandle<F::Output>
where F: Future + Send + 'static, F::Output: Send + 'static,
Expand description

Helper to run a future on the default tokio executor.