UNPKG

938 BTypeScriptView Raw
1import { Emitter, Event } from '../common/event';
2import { Deferred } from '../common/promise-util';
3import { ILogger } from '../common/logger';
4import { FrontendApplicationState } from '../common/frontend-application-state';
5export { FrontendApplicationState };
6export declare class FrontendApplicationStateService {
7 protected readonly logger: ILogger;
8 private _state;
9 protected deferred: {
10 [state: string]: Deferred<void>;
11 };
12 protected readonly stateChanged: Emitter<FrontendApplicationState>;
13 get state(): FrontendApplicationState;
14 set state(state: FrontendApplicationState);
15 get onStateChanged(): Event<FrontendApplicationState>;
16 protected doSetState(state: FrontendApplicationState): void;
17 reachedState(state: FrontendApplicationState): Promise<void>;
18 reachedAnyState(...states: FrontendApplicationState[]): Promise<void>;
19}
20//# sourceMappingURL=frontend-application-state.d.ts.map
\No newline at end of file