Private constructorShutdownHook private constructor
Private #codeExit code
Private #inIs shutdown in process
Private #isIs shutdown complete
Static Private #hooksHooks registry
Static Private #instanceSingleton instance ref
Private #beforePrivate #exitPrivate #logPrivate #onOn shutdown main handler
Static Private createCreate instance
Static subscribeSubscribe handler for a shutdown event
Static unsubscribeUnsubscribe handler for a shutdown event
Generated using TypeDoc
Description
Shutdown hook implementation for Node.JS
Example