Hacker News new | ask | show | jobs
by jmillikin 586 days ago
async/await allows multiple stacks to be active at once within a single thread. It's not a form of multi-threading, which implies the presence of a thread scheduler.
1 comments

The event loop behind async await is completely equivalent to thread scheduler.
An event loop is one possible way to implement an async/await executor, but by far not the only way, or even necessarily the most widely used.
Either we have vastly different definitions for event loop or my imagination is very limited.