UNPKG

508 BTypeScriptView Raw
1import { InjectionToken } from './di';
2/**
3 * A function that will be executed when an application is initialized.
4 * @experimental
5 */
6export declare const APP_INITIALIZER: InjectionToken<(() => void)[]>;
7/**
8 * A class that reflects the state of running {@link APP_INITIALIZER}s.
9 *
10 * @experimental
11 */
12export declare class ApplicationInitStatus {
13 private _donePromise;
14 private _done;
15 constructor(appInits: (() => any)[]);
16 readonly done: boolean;
17 readonly donePromise: Promise<any>;
18}
19
\No newline at end of file