Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface OnModuleDestroy

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

publicapi

Hierarchy

  • OnModuleDestroy

Index

Methods

Methods

onModuleDestroy

  • onModuleDestroy(): any

Generated using TypeDoc