Attribute Macro tauri_macros::command

source ·
#[command]
Expand description

Mark a function as a command handler. It creates a wrapper function with the necessary glue code.

§Stability

The output of this macro is managed internally by Tauri, and should not be accessed directly on normal applications. It may have breaking changes in the future.