Skip to content

Glossary: Desktop Apps with Electron and Tauri

generate_handler!

Also written: invoke_handler, tauri::generate_handler!

A Rust macro that registers your commands so the page can call them. Forgetting to list a command gives a "not found" error.

Where the book teaches it

Related terms

Command (Tauri)Macro (Rust)