Skip to main content

spawn

Function spawn 

Source
pub fn spawn<F, T>(_future: F)
where F: Future<Output = T> + Send + 'static, T: Send + 'static,
Expand description

Spawns a Send future onto the browser event loop on the wasm32 target; panics on non-WASM targets.