Xiuer Old
Jun 25, 2024

--

Hello, thank you for your suggestion, but I think that if you want the effect of Promise.all, you only need to determine whether the status of all results is fulfilled. However, it is more difficult for Promise.all to do what Promise.allSettled does. Therefore, I think Promise.all is a subset of Promise.allSettled.

--

--

Xiuer Old
Xiuer Old

Written by Xiuer Old

🔥Little brother teaches front-end and AI online🌈

No responses yet