Interface defining method to respond to system signals (when application gets
shutdown by, e.g., SIGTERM)
interface OnApplicationShutdown {
onApplicationShutdown(signal?: string): any
}
Methods
onApplicationShutdown()
|
onApplicationShutdown(signal?: string): any
Parameters
Option |
Type |
Description |
signal
|
string |
Optional. Default is undefined .
|
Returns
any
|