JSPM

throw-next-tick

0.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 210
  • Score
    100M100P100Q86672F
  • License ISC

Throw the error in the next tick

Package Exports

  • throw-next-tick

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 (throw-next-tick) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

throw-next-tick

Throw the error in the next tick

Install

$ npm install throw-next-tick --save

Usage

Can be used as a .done replacement for promises:

var throwNextTick = require('throw-next-tick');

promiseOfSomething
  .then(function(something) { ... })
  .catch(throwNextTick);

License

ISC