Function: flushBatch

index.flushBatch

flushBatch(): void

Synchronously executes all pending subscriber notifications currently queued in the batch.

Returns

void

Remarks

Flushes all pending reactions immediately rather than waiting for the next microtask tick. Useful in unit tests or scenarios where immediate synchronous DOM synchronization is required.

ON THIS PAGE