domain-middleware
domain-middleware copied to clipboard
allowing a custom shutdown callback
This would allow :
- customizing the shutdown procedure (sending an email, etc.)
- reusing the callback in other shutdown cases (kill signal received, software shutdown)
I have a PR pending for this.
Note : my fork https://github.com/Offirmo/domain-middleware has this issue solved.