---
title: "Discussion on \"Async Code in Node.js: Callbacks and Promises\" | Hashnode"
description: "Discussion on \"Async Code in Node.js: Callbacks and Promises\". JavaScript execute the code synchronously and asynchronously. sync code block the main thread but async does not in this blog we are going to cover about async code in node.js\nWhy async code exists in"
url: "https://hashnode.com/posts/async-code-in-node-js-callbacks-and-promises/69fa5529a386d7f121d597a0"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Async Code in Node.js: Callbacks and Promises](https://happysinghnegi.hashnode.dev/async-code-in-node-js-callbacks-and-promises?utm_source=hashnode&utm_medium=feed)

JavaScript execute the code synchronously and asynchronously. sync code block the main thread but async does not in this blog we are going to cover about async code in node.js Why async code exists in

May 5 · 2 min read · happysinghnegi.hashnode.dev  
Read the article

-   [#chaicode](https://hashnode.com/tag/chaicode)
-   [#asynchronous](https://hashnode.com/tag/asynchronous)
-   [#nodejs](https://hashnode.com/tag/nodejs)
-   [#callback-hell](https://hashnode.com/tag/callback-hell)
-   [#promises](https://hashnode.com/tag/promises)

## Written by

[Happy singh negi](https://hashnode.com/@happysinghnegi)

@happysinghnegi

  
[View profile](https://hashnode.com/@happysinghnegi)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
