Usually useful for test frameworks or daemon runners or whatever:
process.on('uncaughtException', err => { ... })
process.on('SIGHUP', ...)
process.on('exit', ...)
process.on('beforeExit', ...)
Usually useful for test frameworks or daemon runners or whatever:
process.on('uncaughtException', err => { ... })
process.on('SIGHUP', ...)
process.on('exit', ...)
process.on('beforeExit', ...)
I'm Eson Paguia, a web developer who makes open-source JavaScript projects. You're reading my Today I learned blog. Follow me on Twitter for web development snark, GitHub for code, and Instagram for calligraphy.