Function tauri::async_runtime::spawn [−][src]
pub fn spawn<F>(task: F) -> JoinHandle<F::Output>ⓘwhereNotable traits for JoinHandle<T>impl<T> Future for JoinHandle<T> type Output = Result<T>;
F: Future + Send + 'static,
F::Output: Send + 'static,
Expand description
Spawns a future onto the runtime.