@nestjs/core
Version:
Nest - modern, fast, powerful node.js web framework (@core)
10 lines (9 loc) • 335 B
TypeScript
import { Module } from '../injector/module.js';
/**
* Calls the `onApplicationShutdown` function on the module and its children
* (providers / controllers).
*
* @param moduleRef The module which will be initialized
* @param signal
*/
export declare function callAppShutdownHook(moduleRef: Module, signal?: string): Promise<any>;