[−][src]Function wasm_bindgen_futures::spawn_local
pub fn spawn_local<F>(future: F) where
F: Future<Item = (), Error = ()> + 'static,
Converts a Rust Future
on a local task queue.
The future
provided must adhere to 'static
because it'll be scheduled
to run in the background and cannot contain any stack references.
Panics
This function has the same panic behavior as future_to_promise
.