---
title: "Discussion on \"Asynchronous JavaScript: Callbacks, Promises, and the Event Loop\" | Hashnode"
description: "Discussion on \"Asynchronous JavaScript: Callbacks, Promises, and the Event Loop\". JavaScript is a single-threaded language, meaning it can only execute one piece of code at a time. But then how and why is it used in modern web applications that fetch data, handle multiple requests"
url: "https://hashnode.com/posts/asynchronous-javascript-callbacks-promises-and-the-event-loop/699fe823c9015c37f6e2a797"
---

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

Discussion

# [Asynchronous JavaScript: Callbacks, Promises, and the Event Loop](https://techaditya.hashnode.dev/asynchronous-javascript-callbacks-promises-and-the-event-loop?utm_source=hashnode&utm_medium=feed)

JavaScript is a single-threaded language, meaning it can only execute one piece of code at a time. But then how and why is it used in modern web applications that fetch data, handle multiple requests

Feb 26 · 6 min read · techaditya.hashnode.dev  
Read the article

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

## Written by

[Aditya Aggarwal](https://hashnode.com/@aditya3)

@aditya3

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
