[][src]Function async_spawner::spawn

pub fn spawn<F, T>(future: F) -> JoinHandle<T>

Notable traits for JoinHandle<T>

impl<T> Future for JoinHandle<T> type Output = T;
where
    F: Future<Output = T> + Send + 'static,
    T: Send + 'static, 

Spawns an asynchronous task using the underlying executor.