pub fn spawn( future: impl Future<Output = ()> + Send + 'static, ) -> JoinHandle<()> ⓘ
Spawns future on the current runtime, like tokio::spawn.
future
tokio::spawn