What's wrong with Promise.allSettled() and Promise.any()

What’s wrong with Promise.allSettled() and Promise.any()

I’ve recently read the Promise combinators article in v8 blog. It’s about two upcoming methods in Promise API: Promise.allSettled() and Promise.any(). And I feel frustrated. The design of these methods looks to me inconsistent with current Promise API. Let me share my opinion below.

1 Like