pub fn spawn<F: Future + 'static>(future: F) -> JoinHandle<F::Output> ⓘwhere
F::Output: 'static,Expand description
Starts future as a separate task, which runs while this one waits.
pub fn spawn<F: Future + 'static>(future: F) -> JoinHandle<F::Output> ⓘwhere
F::Output: 'static,Starts future as a separate task, which runs while this one waits.