pub fn spawn(task: impl Future<Output = ()> + Send + 'static)Expand description
Calls Executor::spawn on non-wasm targets and Executor::spawn_local on wasm targets, but ensures that the task also runs in the current arena, if
multithreaded arena sandboxing is enabled.