[][src]Function bastion_executor::blocking::spawn_blocking

pub fn spawn_blocking<F, R>(future: F, stack: ProcStack) -> RecoverableHandle<R> where
    F: Future<Output = R> + Send + 'static,
    R: Send + 'static, 

Spawns a blocking task.

The task will be spawned onto a thread pool specifically dedicated to blocking tasks.