Skip to main content

origin_handler

Macro origin_handler 

Source
macro_rules! origin_handler {
    ($($command:path),* $(,)?) => { ... };
}
Expand description

Builds a Tauri invoke handler containing Origin’s own commands plus the product’s.

Tauri allows exactly one invoke handler per application, so products must not call tauri::generate_handler! themselves — they would drop the platform commands.