---
title: "Discussion on \"Async Code in Node.js: Callbacks and Promises\" | Hashnode"
description: "Discussion on \"Async Code in Node.js: Callbacks and Promises\". Node.js is built around one idea: don't wait. It runs on a single thread and refuses to sit idle it starts a task, moves on, and comes back when the task is done. That's why async code isn't optional"
url: "https://hashnode.com/posts/async-code-in-node-js-callbacks-and-promises/69fc8300b69358134965bdf8"
---

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

Discussion

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

Node.js is built around one idea: don't wait. It runs on a single thread and refuses to sit idle it starts a task, moves on, and comes back when the task is done. That's why async code isn't optional

May 7 · 4 min read · blog-santra.hashnode.dev  
Read the article

-   [#async-code-in-node-js-callbacks-and-promises](https://hashnode.com/tag/async-code-in-node-js-callbacks-and-promises)
-   [#async](https://hashnode.com/tag/async)

## Written by

[Santra](https://hashnode.com/@Santra)

@Santra

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
