---
title: "Discussion on \"Async Code in Node.js: Callbacks and Promises\" | Hashnode"
description: "Discussion on \"Async Code in Node.js: Callbacks and Promises\". When you send a request to your Node.js server, you don't want it to freeze while waiting for a database to respond or a file to load. That's where asynchronous code comes in. It lets your server hand"
url: "https://hashnode.com/posts/async-code-nodejs-callbacks-promises/6a006c3ee3eebc2e206d940c"
---

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

Discussion

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

When you send a request to your Node.js server, you don't want it to freeze while waiting for a database to respond or a file to load. That's where asynchronous code comes in. It lets your server hand

Apr 21 · 5 min read · blog.ashish.pro  
Read the article

## Written by

[Ashish Singodiya](https://hashnode.com/@ashish-pro)

@ashish-pro

  
[View profile](https://hashnode.com/@ashish-pro)

Sher

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
