Files
UoL/CM2010 Software Design and Development/Topic 2/8.3.1/node_modules/@ungap/promise-all-settled
2021-06-16 19:39:43 -05:00
..
2021-06-16 19:39:43 -05:00
2021-06-16 19:39:43 -05:00
2021-06-16 19:39:43 -05:00
2021-06-16 19:39:43 -05:00
2021-06-16 19:39:43 -05:00
2021-06-16 19:39:43 -05:00
2021-06-16 19:39:43 -05: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;