Microtasks
Everything on SkillVeris tagged Microtasks — collected across the glossary, study notes, blog, and cheat sheets.
3 resources across 1 library
Interview Questions(3)
Microtask vs Macrotask Queue: What Is the Difference?
The microtask queue holds high-priority callbacks like Promise .then() handlers and queueMicrotask(), which the event loop fully drains after every single sync…
What Is the Mutation Observer API and When Should You Use It?
The Mutation Observer API lets you asynchronously watch a DOM subtree for changes — child insertions/removals, attribute changes, or text content changes — and…
How Does the Event Loop Order Microtasks and Macrotasks?
After each single macrotask finishes executing, the event loop fully drains the entire microtask queue — including any new microtasks scheduled during that dra…