Skip to content

Glossary: Desktop Apps with Electron and Tauri

async fn

Also written: async command

A Rust function marked async. Tauri runs an async command in the background so slow work such as reading a big file doesn't freeze the window; it can't take borrowed arguments like `&str`.

Where the book teaches it

Related terms

Command (Tauri)Rust types (u32, String, &str, Vec)