failsafe
Ensures a callback function gets called, one way or another. Use in situations where continuing is more important than the result of the callback. I generally incorporate this into my shutdown / restart procedure.
Install
npm install --save-dev failsafe
Usage
// Failsafe code - will definitely exit in 15 seconds or less.var failsafe = ;database
How it works
It's so simple, I'll put the source code right here:
// failsafe.jsvar once = ; module { callback = ; ; return callback;};
Contributing
Pull requests welcome!