From 1898a50e3f19503fb9f0d5b034ea33816a40e753 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Thu, 20 Jul 2023 12:40:16 -0400 Subject: [PATCH] refactor: remove getBooted/weAreBooted --- src/vars.ts | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/vars.ts b/src/vars.ts index a3eaccd..744500f 100644 --- a/src/vars.ts +++ b/src/vars.ts @@ -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 { - return booted.promise; -} - -export function weAreBooted(): void { - booted.resolve(); -} - export function getLoggedInDefer() { return loggedInDefer; }