Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Lifecycle hooks for node.js #430
We need to know when our node.js code is about to be put into the background or killed so that we can do things like gently shut down Express, flush data out of RAM onto disk, etc. We should also expose these hooks as events that developers can subscribe to.