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,