Name Last Update
..
cjs Loading commit data...
esm Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
index.js Loading commit data...
min.js Loading commit data...
package.json Loading commit data...

Promise.allSettled

Build Status Coverage Status Greenkeeper badge

WebReflection status

A cross platform Promise.allSettled polyfill.

Example

const allSettled = require("@ungap/promise-all-settled");

// use it via call
allSettled.call(Promise, []);

// or bind it:
const $settled = allSettled.bind(Promise);

// or put it in the Promise class
if (!Promise.allSettled)
  Promise.allSettled = allSettled;