0.1.0 • Published 9 years ago
throw-next-tick v0.1.0
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
0.1.0
9 years ago