Repository URL to install this package:
|
Version:
7.0.10 ▾
|
/**
* Interface defining method called just before Nest destroys the host module
* (`app.close()` method has been evaluated). Use to perform cleanup on
* resources (e.g., Database connections).
*
* @see [Lifecycle Events](https://docs.nestjs.com/fundamentals/lifecycle-events)
*
* @publicApi
*/
export interface OnModuleDestroy {
onModuleDestroy(): any;
}