---
title: "Comment by Manik on \"Async by default: JavaScript++\" | Hashnode"
description: "I agree with Paul-Sebastian Manole here. Also let&#39;s not forget how the JavaScript work behind the scenes. Promises are sent to the event loop to be processe"
url: "https://hashnode.com/posts/async-by-default-javascript/636150e10aac083eae23ce22/comment/636291942576a880485c8f76"
---

[Discussion](https://hashnode.com/posts/async-by-default-javascript/636150e10aac083eae23ce22)

Comment [Async by default: JavaScript++](https://hashnode.com/posts/async-by-default-javascript/636150e10aac083eae23ce22)

[Manik](https://hashnode.com/@cloudaffle)

[Nov 2, 2022](https://hashnode.com/posts/async-by-default-javascript/636150e10aac083eae23ce22/comment/636291942576a880485c8f76)

I agree with [Paul-Sebastian Manole](https://hashnode.com/@brokenthorn) here. Also let's not forget how the JavaScript work behind the scenes. Promises are sent to the event loop to be processed once the stack is clear. There is a reason async functions are different from synchronous code that we write.

[Steven Olsen](https://hashnode.com/@srjsdev)

[Nov 10, 2022](https://hashnode.com/posts/async-by-default-javascript/636150e10aac083eae23ce22/comment/636291942576a880485c8f76#reply-636d2d66ea115907a994a538)

Hi [Manik](https://hashnode.com/@cloudaffle), thanks for the comment. You're right, JS is single threaded, but Promises technically use a separate "micro-queue" which recieved precendence over the event loop.

In either case, I mentioned "similar to multi-threading concepts" because of that fact of queues vs. threads. So you're correct, they are not the same!

But, if for a moment we set aside starvation (which is a real concern), and also web workers/etc -- then we really can conceptualize Promises as threads! And it's a very powerful way to think about them.

I've written up an Advanced JavaScript Promise slide deck; if you're interested I'll post the link.

[Manik](https://hashnode.com/@cloudaffle)

[Nov 10, 2022](https://hashnode.com/posts/async-by-default-javascript/636150e10aac083eae23ce22/comment/636291942576a880485c8f76#reply-636d312a2e3b6701485c24e5)

[Steven Olsen](https://hashnode.com/@srjsdev) sure would love to read. Drop me a link 👍

[Steven Olsen](https://hashnode.com/@srjsdev)

[Nov 10, 2022](https://hashnode.com/posts/async-by-default-javascript/636150e10aac083eae23ce22/comment/636291942576a880485c8f76#reply-636d44eb2e3b6701485c2725)

[Manik](https://hashnode.com/@cloudaffle) Here you go, enjoy!

[slides.com/solsen-tl/javascript-promises-beginner…](https://slides.com/solsen-tl/javascript-promises-beginner-to-advanced)
