Function napi_h::bindgen_prelude::spawn_blocking
source · pub fn spawn_blocking<F, R>(func: F) -> JoinHandle<R>
Expand description
spawn_blocking on the current Tokio runtime.
pub fn spawn_blocking<F, R>(func: F) -> JoinHandle<R>
spawn_blocking on the current Tokio runtime.