---
title: "Discussion on \"Better ways to use async functions in Javascript\" | Hashnode"
description: "Discussion on \"Better ways to use async functions in Javascript\". Optimize JavaScript async functions using `Promise.all()`, `Promise.allSettled()`, and `Promise.race()`."
url: "https://hashnode.com/posts/better-ways-to-use-async-functions-in-javascript/669d35eea01adb9e5fbd90a0"
---

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

Discussion

# [Better ways to use async functions in Javascript](https://adityabhattad.hashnode.dev/better-ways-to-use-async-functions-in-javascript?utm_source=hashnode&utm_medium=feed)

Optimize JavaScript async functions using \`Promise.all()\`, \`Promise.allSettled()\`, and \`Promise.race()\`.

Jul 21, 2024 · 5 min read · adityabhattad.hashnode.dev  
Read the article

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

## Written by

[Aditya Bhattad](https://hashnode.com/@AdityaBhattad)

@AdityaBhattad · India

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

Open Source Developer

Trying to make the internet better.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
