pub fn emit_event_to_window(
state: &AppState,
label: &str,
event: &str,
payload: &Value,
) -> boolExpand 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.