Spaces:
Sleeping
Sleeping
File size: 369 Bytes
cd6720a | 1 2 3 4 5 6 7 8 9 10 11 12 13 | /**
* 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;
}
|