ReadonlyonCoalesced (microtask-buffered) ping after any layout change; the only signal for sash resize, which does not go through the mutation boundary.
ReadonlyonFires after a structural mutation; used to capture the post-image.
ReadonlyonFires before a structural mutation; used to capture the pre-image.
ReadonlyoptionsReadonlypopoutSettles once any in-flight popout-window restoration (from fromJSON)
completes. Popouts re-open asynchronously, so undo/redo holds its guard
until this resolves. Already-resolved when nothing is restoring.
Optionaloptions: { reuseExistingPanels: boolean }
The narrow surface the layout-history service needs from the host (
DockviewComponent). It reads/writes whole-layout snapshots and listens to the mutation-transaction boundary, the only place a pre-image can be taken before a mutation runs.