Skip to main content

spawn

Function spawn 

Source
pub fn spawn<F>(task: F)
where F: FnOnce() + Send + 'static,