TLDR Web Dev · ARTICLES & TUTORIALS

THE MECHANICS OF ASYNC AWAIT

blog.resonatehq.io10 min read

Summary from the TLDR Web Dev newsletter

Under the hood, async/await is built on promises, where the async function returns a promise that represents the eventual result. The event loop handles promise resolution by tracking promises and resuming suspended processes when promises are fulfilled. There’s a notion that async/await is inherently non-blocking, but that’s not true, as shown by a code example within this article.