Coalesce rapid headless-tool flush triggers into one microtask so parallel
input.requested events observed back-to-back batch into a single resume.
Vue/Svelte/Angular watchers run synchronously per event; without this,
the first interrupt can be claimed before the second arrives and resume
splits into staggered single-tool commands.
scheduleCoalescedHeadlessToolFlush(handledIds: Set<string>, run: () => void)| Name | Type | Description |
|---|---|---|
handledIds* | Set<string> | |
run* | () => void |