diff --git a/src/settle.js b/src/settle.js index 222ea4547..becf211d7 100644 --- a/src/settle.js +++ b/src/settle.js @@ -45,6 +45,10 @@ Promise.settle = function (promises) { return new SettledPromiseArray(promises).promise(); }; +Promise.allSettled = function (promises) { + return new SettledPromiseArray(promises).promise(); +}; + Promise.prototype.settle = function () { return Promise.settle(this); };