wasmtime_wasi::runtime

Function spawn_blocking

Source
pub fn spawn_blocking<F, R>(f: F) -> AbortOnDropJoinHandle<R> 
where F: FnOnce() -> R + Send + 'static, R: Send + 'static,