Function spawn_local

Source
pub fn spawn_local<F>(future: F)
where F: Future<Output = ()> + 'static,
Expand description

Runs a Rust Future on the current thread.