UNPKG

374 BTypeScriptView Raw
1import { Module } from '../injector/module';
2/**
3 * Calls the `beforeApplicationShutdown` function on the module and its children
4 * (providers / controllers).
5 *
6 * @param module The module which will be initialized
7 * @param signal The signal which caused the shutdown
8 */
9export declare function callBeforeAppShutdownHook(module: Module, signal?: string): Promise<void>;