Skip to content

simplesmiler/throw-next-tick

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Throw the error in the next tick

Resources

License

Stars

Watchers

Forks

Packages

No packages published