Skip to content

Interface: OnApplicationShutdown

Defined in: packages/core/src/interfaces/lifecycle.interface.ts:38

Interface for lifecycle hooks called when the application is shutting down This method is called when all connections are closed and the application is about to exit

Methods

onApplicationShutdown()

ts
onApplicationShutdown(): void | Promise<void>;

Defined in: packages/core/src/interfaces/lifecycle.interface.ts:39

Returns

void | Promise<void>

Released under the MIT License.