https://github.com/google/closure-compiler/blob/a327b5cb2f4ee4fdb954f6a80f2ca53c578dc982/externs/es6.js#L1590-L1647
Promise.allSettled is a little like a mix between Promise.all or Promise.race, but rather than requiring either one to fail or one to succeed to interrupt the rest of waiting, this waits on all to come to a conclusion one way or the other. As such, it requires a wrapper to hold both the result or the rejection value, and a property to distinguish which occurred.
https://github.com/google/closure-compiler/blob/a327b5cb2f4ee4fdb954f6a80f2ca53c578dc982/externs/es6.js#L1590-L1647
Promise.allSettled is a little like a mix between Promise.all or Promise.race, but rather than requiring either one to fail or one to succeed to interrupt the rest of waiting, this waits on all to come to a conclusion one way or the other. As such, it requires a wrapper to hold both the result or the rejection value, and a property to distinguish which occurred.