wasmtime_wasi::runtime

Function spawn

Source
pub fn spawn<F>(f: F) -> AbortOnDropJoinHandle<F::Output> 
where F: Future + Send + 'static, F::Output: Send + 'static,