refactor: update booted api function
This commit is contained in:
parent
2937761e11
commit
8e5922ab60
|
@ -1,4 +1,4 @@
|
|||
import { getBooted, getTimer } from "../vars.js";
|
||||
import { awaitBooted, getTimer } from "../vars.js";
|
||||
import browser from "webextension-polyfill";
|
||||
import { logLargeObjects } from "./background/util.js";
|
||||
import { queryKernel } from "./background/kernel.js";
|
||||
|
@ -26,7 +26,7 @@ browser.runtime.onMessage.addListener(async (request, sender) => {
|
|||
}
|
||||
|
||||
if (request.method === "waitForBoot") {
|
||||
await getBooted();
|
||||
await awaitBooted();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Reference in New Issue