parcoursup/node_modules/@ungap/promise-all-settled
lalBi94 7bc56c09b5 $
2023-03-05 13:23:23 +01:00
..
cjs $ 2023-03-05 13:23:23 +01:00
esm $ 2023-03-05 13:23:23 +01:00
index.js $ 2023-03-05 13:23:23 +01:00
LICENSE $ 2023-03-05 13:23:23 +01:00
min.js $ 2023-03-05 13:23:23 +01:00
package.json $ 2023-03-05 13:23:23 +01:00
README.md $ 2023-03-05 13:23:23 +01:00

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;