Skip to content

Glossary: Desktop Apps with Electron and Tauri

Command (Tauri)

Also written: command, commands, #[tauri::command]

A Rust function the page can call by name with `invoke`. It plays the role of an `ipcMain.handle` handler in Electron, like the till's `cart_total`.

Where the book teaches it

Related terms

invokegenerate_handler!Attribute (Rust)