---
title: "Discussion on \"Promise.all vs Promise.allSettled, which is better?\" | Hashnode"
description: "Discussion on \"Promise.all vs Promise.allSettled, which is better?\". Definitions and Differences\nPromise.all(): This Promise method receives an array of promises as input and when all promises are resolved it fulfils the returning promise, however, if there is an error with any of the promise inputs it rejects the ret..."
url: "https://hashnode.com/posts/promiseall-vs-promiseallsettled-which-is-better/6504e36fc5763b1353b90c71"
---

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

Discussion

# [Promise.all vs Promise.allSettled, which is better?](https://alayesanmi.hashnode.dev/promiseall-vs-promiseallsettled-which-is-better?utm_source=hashnode&utm_medium=feed)

Definitions and Differences Promise.all(): This Promise method receives an array of promises as input and when all promises are resolved it fulfils the returning promise, however, if there is an error with any of the promise inputs it rejects the ret...

Aug 27, 2023 · 3 min read · alayesanmi.hashnode.dev  
Read the article

-   [#nodejs](https://hashnode.com/tag/nodejs)
-   [#backend](https://hashnode.com/tag/backend)
-   [#promises](https://hashnode.com/tag/promises)
-   [#promise-methods](https://hashnode.com/tag/promise-methods)
-   [#js](https://hashnode.com/tag/js)

## Written by

[Alayesanmi Femi](https://hashnode.com/@femi)

@femi

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

Fullstack Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
