---
title: "Discussion on \"Async Code in Node.js: Callbacks and Promises\" | Hashnode"
description: "Discussion on \"Async Code in Node.js: Callbacks and Promises\". Introduction\nWhen we write code, some operations take time.Reading a file, making a database query, calling an API, or communicating over a network may not finish immediately.\nIf JavaScript simply wai"
url: "https://hashnode.com/posts/async-code-in-node-js-callbacks-and-promises/6ac12528e91d7d2e08fe07f8"
---

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

Discussion

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

Introduction When we write code, some operations take time.Reading a file, making a database query, calling an API, or communicating over a network may not finish immediately. If JavaScript simply wai

Oct 3 · 13 min read · dev-ops-blogs.hashnode.dev  
Read the article

-   [#javascript-promises](https://hashnode.com/tag/javascript-promises)

## Written by

[Om Shirbhate](https://hashnode.com/@omshirbhate)

@omshirbhate · Amravati

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

1% Better. Every Day.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
