MountainIPCInvoke

Function MountainIPCInvoke 

Source
pub async fn MountainIPCInvoke(
    app_handle: AppHandle,
    method: String,
    params: Value,
) -> Result<Value, String>
Expand description

Invoke IPC methods.

This command accepts method invocation requests from the Wind frontend and delegates them to the WindServiceHandlers for execution.

§Arguments

  • app_handle - Tauri application handle
  • method - Name of the method to invoke
  • params - JSON object containing method parameters

§Returns

Returns the method execution result as JSON, or an error string.

§Errors

Returns an error if:

  • Method does not exist
  • Method execution fails
  • Parameters are invalid