pub fn spawn<FUT, N: AsRef<str>>( name: N, fut: FUT, ) -> Result<JoinHandle<FUT::Output>>where FUT: Future + Send + 'static, FUT::Output: Send,
Spawn a future as a task with a name. The task is spawned into the current tokio runtime.