javascript - Difference between microtask and macrotask within an event loop context - Stack Overflow
Ask questions, find answers and collaborate at work with Stack Overflow for Teams. Explore Teams Looking for your Teams? Stack Overflow for Teams has its own domain! You can now access your Teams at stackoverflowteams.com. Teams no longer appear in the left sidebar on stackoverflow.com. Check your email to learn more about these changes. Find centralized, trusted content and collaborate around the technologies you use most. Teams Q&A for work Connect and share knowledge within a single location that is structured and easy to search. Get early access and see previews of new features. I've just finished reading the Promises/A+ specification and stumbled upon the terms microtask and macrotask: see http://promisesaplus.com/#notes I've never heard of these terms before, and now I'm curious what the difference could be? I've already tried to find some information on the web, but all I've found is this post from the w3.org Archives (which does not explain the difference to me): ht
javascript - Difference between microtask and macrotask within an event loop context - Stack Overflow The 2026 Annual Developer Survey is live— take the Survey today! Collectives™ on Stack Overflow Find centralized, trusted content and collaborate around the technologies you use most. Learn more about Collectives Stack Internal Knowledge at work Bring the best of human thought and AI automation together at your work. Explore Stack Internal Difference between microtask and macrotask within an event loop context Ask Question Asked 11 years, 10 months ago Modified 2 years, 10 months ago Vi
Explore this link on the map →related reading
- Microtasks and event looptr.javascript.info
- The Event Loop and Callback Hell - Wes Boswesbos.com
- Reading 15: Promisesweb.mit.edu
- TypeScript Structured Concurrencythecandidstartup.org
- Reading 17: Callbacks and Graphical User Interfacesweb.mit.edu
- JavaScript execution model - JavaScript | MDNdeveloper.mozilla.org
- Cơ chế hoạt động của javascript và nodejsblog.daovanhung.com
- Micro Frontends - extending the microservice idea to frontend developmentmicro-frontends.org
- The Web Animation Performance Tier List | Motion Magazinemotion.dev
- Reading 16: Mutual Exclusionweb.mit.edu
- python - How does asyncio actually work? - Stack Overflowstackoverflow.com
- What Async Promised and What it Delivered — Causalitycausality.blog