throw-next-tick

v0.1.0
Throw the error in the next tick
escape next-tick promise throw

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

npm i throw-next-tick

Metadata

  • ISC
  • Whatever
  • Denis Karabaza
  • released 9/25/2015

Downloads

Maintainers