---
title: "Discussion on \"Async Code in Node.js: Callbacks and Promises\" | Hashnode"
description: "Discussion on \"Async Code in Node.js: Callbacks and Promises\". JavaScript is single-threaded, which means it can only do one thing at a time. But web servers need to handle hundreds of requests simultaneously. That's where asynchronous code comes in — it lets you"
url: "https://hashnode.com/posts/async-code-in-node-js/69f8484a76c1469ba4494498"
---

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

Discussion

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

JavaScript is single-threaded, which means it can only do one thing at a time. But web servers need to handle hundreds of requests simultaneously. That's where asynchronous code comes in — it lets you

May 4 · 8 min read · blog-rajharsh.hashnode.dev  
Read the article

-   [#chaicode](https://hashnode.com/tag/chaicode)
-   [#chaiaurcode](https://hashnode.com/tag/chaiaurcode)
-   [#nodejs](https://hashnode.com/tag/nodejs)
-   [#webcohort](https://hashnode.com/tag/webcohort)
-   [#webdevelopment](https://hashnode.com/tag/webdevelopment)
-   [#web-development](https://hashnode.com/tag/web-development)

## Written by

[Harsh Raj](https://hashnode.com/@RajHarsh03)

@RajHarsh03 · Kolkata, West Bengal

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

Web Developer, Building useful web applications

CS undergrad | Tech enthusiast | Focusing on Web Dev • DSA • ML | Building skills for real-world impact

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
