Function spawn

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

Creates a new task running on the NGINX event loop.