1/** Lets event handlers await a UI mutation without leaking an unhandled rejection. */2export async function settleUiMutation(mutation: PromiseLike<unknown>): Promise<void> {3 // Package-owned UI mutation settlement.4 try {5 await mutation;6 } catch {7 // The runtime owns the visible failure state; the event boundary owns rejection handling.8 }9}