Function lucas_test::async_runtime::spawn
source · [−]pub fn spawn<F>(task: F) -> JoinHandle<F::Output>ⓘNotable traits for JoinHandle<T>impl<T> Future for JoinHandle<T> type Output = Result<T>; where
F: Future + Send + 'static,
F::Output: Send + 'static, Expand description
Spawns a future onto the runtime.