fn.spawn

Function tauri::​spawn

pub fn spawn<F: FnOnce() + Send + 'static>(task: F)

Executes the operation in the thread pool.