InvalidationQueue

Collects dirty RecomposeScope instances and drains them in insertion order.

Enqueue, inspection, clearing, and draining are synchronized. Duplicate scopes are coalesced, and compacted draining removes descendants when an invalidated ancestor already covers their work.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard

Removes every pending scope without disposing or recomposing it.

Link copied to clipboard

Removes and returns the minimal ordered set of scopes needed for recomposition.

Link copied to clipboard

Enqueues scope for a future recomposition pass.

Link copied to clipboard

Returns whether at least one scope is waiting to be drained.