Microtasks
Term side of the Card
Topic: Basics
Unit title: Microtasks
Categories: Concept
Explanation side of the Card
Explanation: The high-priority asynchronous tasks in the JavaScript event loop that are executed after the current execution stack and before the next macrotask, following the completion of any synchronous code. Examples include `Promise` callbacks and `MutationObserver` callbacks.