DispatchFrontendCommand

Function DispatchFrontendCommand 

Source
pub async fn DispatchFrontendCommand<R: Runtime>(
    ApplicationHandle: AppHandle<R>,
    RunTime: State<'_, Arc<ApplicationRunTime>>,
    Command: String,
    Argument: Value,
) -> Result<Value, String>
Expand description

The primary Tauri command handler for requests originating from the Sky frontend. This is the general-purpose entry point for commands that are defined abstractly in the Common crate.