Nonsense Parser Microframework
    Have ideas to improve npm?Join in the discussion! »

    @ungap/promise-all-settled

    1.1.2 • Public • Published

    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;

    Install

    npm i @ungap/promise-all-settled

    DownloadsWeekly Downloads

    1,388,321

    Version

    1.1.2

    License

    ISC

    Unpacked Size

    4.88 kB

    Total Files

    8

    Last publish

    Collaborators

    • avatar