spawn_local

Function spawn_local 

Source
pub fn spawn_local<F>(future: F) -> Task<F::Output>
where F: Future + 'static, F::Output: 'static,
Expand description

Spawns a task that is executed by the browser event loop.