
committed by
Alex Rickabaugh

parent
0918adf39d
commit
3903e5ebe7
@ -13,11 +13,15 @@ import {Inject, Injectable, InjectionToken, Optional} from './di';
|
||||
|
||||
/**
|
||||
* A function that will be executed when an application is initialized.
|
||||
*
|
||||
* @publicApi
|
||||
*/
|
||||
export const APP_INITIALIZER = new InjectionToken<Array<() => void>>('Application Initializer');
|
||||
|
||||
/**
|
||||
* A class that reflects the state of running {@link APP_INITIALIZER}s.
|
||||
*
|
||||
* @publicApi
|
||||
*/
|
||||
@Injectable()
|
||||
export class ApplicationInitStatus {
|
||||
|
Reference in New Issue
Block a user