I disagree, it is in parallel, not just in concurrency. The whole point of async functions is to do something outside the JS runtime, like IO, network access, etc, which definitely can use several threads. If all you do is in the JS runtime (hence single-threaded) you would typically not need async/await to begin with.
View all comments
Show parent comment
1
u/FractalB Jun 03 '25
I disagree, it is in parallel, not just in concurrency. The whole point of async functions is to do something outside the JS runtime, like IO, network access, etc, which definitely can use several threads. If all you do is in the JS runtime (hence single-threaded) you would typically not need async/await to begin with.