JSPM

@ungap/promise-all-settled

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1426719
  • Score
    100M100P100Q241832F
  • License ISC

A cross platform Promise.allSettled polyfill

Package Exports

  • @ungap/promise-all-settled

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@ungap/promise-all-settled) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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;