flush-microtasks
JSON →Utility to flush the microtask queue (e.g., pending Promises) by returning a thenable that resolves when the queue is empty. Version 1.0.1 is stable, with no recent releases. It is a minimal, focused library extracted from React's enqueueTask implementation, ideal for testing or scenarios requiring deterministic microtask execution. Differentiates by providing a simple, dependency-free function without side effects.
Resources
packageflush-microtasks ↗