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: