← TechnologyThe essentials of

Promise.allSettled(): report for each completed task

Publisher: ResumeMaker • 1 source

Published: 22 Oct 2026 13:13 · Updated: 22 Oct 2026 13:13

AI source check: 21 Oct 2026 12:40. This is not editorial approval.

In a few sentences

In brief

Promise.allSettled() waits for every input promise to settle, whether fulfilled or rejected.

Useful to know

Promise.allSettled() waits for every input promise to settle, whether fulfilled or rejected. It returns objects containing status and, as appropriate, value or reason. Their order follows the input. [1]

This suits independent checks where one failure should not hide the other results. Read status before using value: a rejected result provides reason instead. Waiting for all tasks is not a live progress report and does not itself limit how many tasks run concurrently. Those requirements need separate mechanisms.

Sources

For further detail and to check the information:

  1. [1] MDN — Promise.allSettled ↗