refactor: create pre shutdown lifecycle

Signed-off-by: Camila Belo <camilaibs@gmail.com>
This commit is contained in:
Camila Belo
2024-12-03 13:36:18 +01:00
parent 7d0d43c51a
commit 5171d5c742
10 changed files with 66 additions and 53 deletions
@@ -23,4 +23,6 @@ import { LifecycleService } from './LifecycleService';
*
* @public
*/
export interface RootLifecycleService extends LifecycleService {}
export interface RootLifecycleService extends LifecycleService {
addPreShutdownHook(hook: () => void): void;
}