augmenttoolkit / node_modules /@nestjs /common /interfaces /hooks /on-application-shutdown.interface.d.ts
Leon4gr45's picture
Include updated package-lock.json (part 9)
cd6720a verified
Raw
History Blame Contribute Delete
314 Bytes
/**
* Interface defining method to respond to system signals (when application gets
* shutdown by, e.g., SIGTERM)
*
* @see [Lifecycle Events](https://docs.nestjs.com/fundamentals/lifecycle-events)
*
* @publicApi
*/
export interface OnApplicationShutdown {
onApplicationShutdown(signal?: string): any;
}