[−][src]Function nuclei::spawn
pub fn spawn<F>(future: F) -> JoinHandle<<F as Future>::Output>ⓘwhereImportant traits for JoinHandle<R>
impl<R> Future for JoinHandle<R> where
R: 'static + Send, type Output = R;
F: Future + Send + 'static,
<F as Future>::Output: Send,
<F as Future>::Output: 'static,
spawn
will use the global executor instance, which is determined by the cargo features,
to spawn the given future.