refactor: change ready to return the value of ready as it is now boolean

This commit is contained in:
Derrick Hammer 2023-07-29 17:09:46 -04:00
parent 1ef420ee15
commit 12522ca10e
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 3 deletions

View File

@ -58,9 +58,7 @@ function handleGetSupportedTlds(aq: ActiveQuery) {
} }
async function handleReady(aq: ActiveQuery) { async function handleReady(aq: ActiveQuery) {
await resolver.ready(); aq.respond(await resolver.ready());
aq.respond();
} }
export * from "@lumeweb/libresolver/lib/util.js"; export * from "@lumeweb/libresolver/lib/util.js";