pub fn spawn<Fut: Future<Output = ()> + 'static>( future: Fut, ) -> Result<(), SpawnError>
Spawns a new local future that will be polled at next tick or a new event comming