throw-next-tick
v0.1.0
Published
Throw the error in the next tick
Downloads
2,434
Maintainers
Readme
throw-next-tick
Throw the error in the next tick
Install
$ npm install throw-next-tick --saveUsage
Can be used as a .done replacement for promises:
var throwNextTick = require('throw-next-tick');
promiseOfSomething
.then(function(something) { ... })
.catch(throwNextTick);