pub fn spawn<T: 'static, F: Future<Output = T> + 'static>(
future: F,
) -> JoinHandle<T> ⓘExpand description
Spawns a future to run in the background.
pub fn spawn<T: 'static, F: Future<Output = T> + 'static>(
future: F,
) -> JoinHandle<T> ⓘSpawns a future to run in the background.