#concurrency
Posts tagged with “concurrency”.
2 posts
01
The Event Loop Explained: How JavaScript Runs Async Code
JavaScript is single-threaded yet handles concurrency. Learn the call stack, task queues, microtasks, and why setTimeout has a minimum delay.
02
Promises vs Async/Await: Which to Use and When
Promises and async/await solve the same problem in different styles. Learn how each works, the pitfalls of both, and how to choose.