Skip to main content

Harshal V. LADHE

Microtasks and the Priority Queue

Articles on the microtask queue that backs Promises and queueMicrotask, and how it's prioritized ahead of macrotasks like setTimeout.

1 post

Posts tagged microtasks

  • Mastering Asynchronous JavaScript: Callbacks, Promises, and Async/Await

    Write clean, predictable asynchronous JavaScript
    A deep guide to asynchronous JavaScript covering the event loop, callbacks, promises, async/await, microtasks, concurrency patterns, and performance best practices for modern web development.
    Published at:
    Categories:JavaScript
    Estimated reading time:18 min read