MountainIPCReceiveMessage

Function MountainIPCReceiveMessage 

Source
pub async fn MountainIPCReceiveMessage(
    app_handle: AppHandle,
    message: Value,
) -> Result<Value, String>
Expand description

Receive messages from Wind through IPC.

This command accepts JSON messages from the Wind frontend and delegates them to the TauriIPCServer for processing. The message is first parsed to ensure it has the correct structure.

§Arguments

  • app_handle - Tauri application handle
  • message - JSON value containing the message from Wind

§Returns

Returns a JSON response on success, or an error string on failure.

§Errors

Returns an error if:

  • JSON message cannot be parsed into the expected structure
  • TauriIPCServer processing fails