common_runtime::global

Function spawn_blocking_hb

source
pub fn spawn_blocking_hb<F, R>(future: F) -> JoinHandle<R> 
where F: FnOnce() -> R + Send + 'static, R: Send + 'static,
Expand description

Run the blocking operation in hb thread pool.