p-fatal

0.1.5 • Public • Published

p-fatal

Re-throw unhandled promise rejections in the next turn, so other listeners get a chance to also run.

API

This module exports nothing. It does all work as a side effect of importing it.

Known issues

  • Versions 0.1.x don't care whether the rejection becomes handled later. I currently consider this a feature, but I'd be willing to offer opt-out. I think it's still a better idea to setup your rejection handlers asap.

 

License

ISC

Dependencies (0)

    Dev Dependencies (8)

    Package Sidebar

    Install

    npm i p-fatal

    Weekly Downloads

    453

    Version

    0.1.5

    License

    ISC

    Unpacked Size

    11.5 kB

    Total Files

    13

    Last publish

    Collaborators

    • mk-pmb