Skip to main content



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


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.