emit_event_to_window

Function emit_event_to_window 

Source
pub fn emit_event_to_window(
    state: &AppState,
    label: &str,
    event: &str,
    payload: &Value,
) -> bool
Expand description

Emit an event to a specific browser window by label. Used by the tear-off Phase 4 hook to push merge-candidate changes to the destination renderer.