spawn_local

Function spawn_local 

Source
pub fn spawn_local(task: impl Future<Output = ()> + 'static)
Expand description

Calls Executor::spawn_local, but ensures that the task also runs in the current arena, if multithreaded arena sandboxing is enabled.