[−][src]Function async_spawner::spawn
pub fn spawn<F, T>(future: F) -> JoinHandle<T>ⓘwhereNotable traits for JoinHandle<T>
impl<T> Future for JoinHandle<T> type Output = T;
F: Future<Output = T> + Send + 'static,
T: Send + 'static,
Spawns an asynchronous task using the underlying executor.