Practice
Learn
← Quit
0 / 0 correct
JS / TypeScript
Medium
1 of 20
What is the difference between Promise.all and Promise.allSettled?
A
all rejects as soon as any promise rejects; allSettled waits for every promise and reports each outcome
B
allSettled runs promises sequentially
C
None
D
all ignores rejections