Function wasm_rs_async_executor::single_threaded::spawn [−][src]
pub fn spawn<F, T>(fut: F) -> TaskHandle<T>ⓘwhereNotable traits for TaskHandle<T>
impl<T> Future for TaskHandle<T> type Output = Result<T, JoinError>;
F: Future<Output = T> + 'static,
T: 'static,
Spawn a task