ES Proposal spec-compliant shim for Promise.allSettled. Invoke its "shim" method to shim
Promise.allSettled if it is unavailable or noncompliant. Note: a global
Promise must already exist: the es6-shim is recommended.
Most common usage:
var assert = ;var allSettled = ;var resolved = Promise;var rejected = Promise;;allSettled; // will be a no-op if not neededPromise;
Simply clone the repo,
npm install, and run