refactor: remove getBooted/weAreBooted
This commit is contained in:
parent
b0c7e03828
commit
1898a50e3f
|
@ -12,7 +12,6 @@ let authStatusKnown = false;
|
|||
let authStatusDefer = defer();
|
||||
let kernelFrame: HTMLIFrameElement;
|
||||
let blockForDnsSetup = defer();
|
||||
let booted = defer();
|
||||
let loggedInDefer = defer();
|
||||
|
||||
export function getAuthStatusKnown() {
|
||||
|
@ -99,14 +98,6 @@ export function getAuthStatusDefer() {
|
|||
return authStatusDefer;
|
||||
}
|
||||
|
||||
export function getBooted(): Promise<unknown> {
|
||||
return booted.promise;
|
||||
}
|
||||
|
||||
export function weAreBooted(): void {
|
||||
booted.resolve();
|
||||
}
|
||||
|
||||
export function getLoggedInDefer() {
|
||||
return loggedInDefer;
|
||||
}
|
||||
|
|
Reference in New Issue