UNPKG

recoder-code

Version:

🚀 AI-powered development platform - Chat with 32+ models, build projects, automate workflows. Free models included!

13 lines (12 loc) • 369 B
/** * 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; }