hemera-safe-promises
v4.0.2
Published
Making unhandled promise rejections crash the Node.js process
Downloads
7
Maintainers
Readme
Hemera-safe-promises package
A node.js module to make the use of promises safe. It implements the deprecation DEP0018 of Node.js in versions 6, 7 and 8. Using Promises without this module might cause file descriptor and memory leaks.
Usage
const hemera = new Hemera(nats)
hemera.use(require('hemera-safe-promises'))