Function await::examples::async::spawn [] [src]

pub fn spawn<T: Send + 'static, A: Await<T> + Send + 'static>(a: A) -> JoinHandle<T>

Starts a new Thread and executes the Await there. This method returns immediatly.