Function spawn_blocking_task

Source
pub fn spawn_blocking_task<F, R>(task: F) -> F::Output
where F: Future,
Expand description

Spawn a blocking task using the handle to the runtime.