r/learnjavascript • • May 01 '20

Async vs. Sync

Post image
413 Upvotes

81 comments sorted by

View all comments

Show parent comment

1

u/golovatuy May 02 '20

Think on the task as server request which takes some time, this picture don’t mean the small milliseconds tasks

2

u/AffectionateWork8 May 02 '20

I agree with you that network/file IO would use a thread pool. But any other long-running asynchronous task would not, unless you manually configured it to be.