Skip to main content

spawn_local

Function spawn_local 

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

Spawn a task on the executor runtime which will not be moved to other threads