common_runtime::global

Function spawn_compact

source
pub fn spawn_compact<F>(future: F) -> JoinHandle<F::Output> 
where F: Future + Send + 'static, F::Output: Send + 'static,
Expand description

Spawn a future and execute it in compact thread pool.