Promise.all vs race Playground

Mrs. Sari waits on three runners at once: all, allSettled, race or any decides when her ticket settles and what she gets, while late runners still arrive…

The key idea

All run together; they differ only in when they stop waiting

Try it in this playground