Function wasm_bindgen_futures::source ·
pub fn spawn_local<F>(future: F)where F: Future<Output = ()> + 'static,
Runs a Rust
Future on the current thread.
future must be
'static because it will be scheduled
to run in the background and cannot contain any stack references.
future will always be run on the next microtask tick even if it
This function has the same panic behavior as