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