Function wasmrs_runtime::spawn
source · pub fn spawn<F>(id: &'static str, task: F) -> TaskHandlewhere
F: Future<Output = ()> + Send + 'static,pub fn spawn<F>(id: &'static str, task: F) -> TaskHandlewhere
F: Future<Output = ()> + Send + 'static,