Skip to main content

spawn_local

Function spawn_local 

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

Spawn a local task on the current Tokio LocalSet.