---
title: "Discussion on \"Async Code in Node.js: Callbacks and Promises\" | Hashnode"
description: "Discussion on \"Async Code in Node.js: Callbacks and Promises\". If you've ever run a Node.js script and seen output appear in a different order than you wrote it — that's not a bug. That's async code doing its job.\n\nWhy Async Code Exists\nImagine you walk into a ca"
url: "https://hashnode.com/posts/async-code-in-node-js-callbacks-and-promises/69ee096f3d6a492cddfd4b83"
---

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

Discussion

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

If you've ever run a Node.js script and seen output appear in a different order than you wrote it — that's not a bug. That's async code doing its job. Why Async Code Exists Imagine you walk into a ca

Apr 26 · 6 min read · pushkar-adhikari.hashnode.dev  
Read the article

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

## Written by

[Pushkar Adhikari](https://hashnode.com/@pushkar-adhikari)

@pushkar-adhikari · India

  
[View profile](https://hashnode.com/@pushkar-adhikari)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
