Function tauri::async_runtime::spawn

source ·
pub fn spawn<F>(task: F) -> JoinHandle<F::Output> where
    F: Future + Send + 'static,
    F::Output: Send + 'static,
Expand description

Spawns a future onto the runtime.