pub fn dispatch<F, T>(_future: F)where
F: Future<Output = T> + 'static,
T: 'static,Expand description
Spawns a future onto the browser event loop without requiring it to be
Send. Like spawn but accepts non-Send futures on the wasm32
target; panics on non-WASM targets.