pub async fn MountainSubscribeToUpdates(
app_handle: AppHandle,
subscription_data: Value,
) -> Result<Value, String>Expand description
Subscribe to updates.
Subscribes a subscriber to receive updates for a target.
§Arguments
app_handle- Tauri application handlesubscription_data- JSON object with target and subscriber fields
§Returns
Returns success JSON or an error string.
§Errors
Returns an error if:
- Required fields missing
- Subscription fails