refactor: change ready to return the value of ready as it is now boolean
This commit is contained in:
parent
1ef420ee15
commit
12522ca10e
|
@ -58,9 +58,7 @@ function handleGetSupportedTlds(aq: ActiveQuery) {
|
|||
}
|
||||
|
||||
async function handleReady(aq: ActiveQuery) {
|
||||
await resolver.ready();
|
||||
|
||||
aq.respond();
|
||||
aq.respond(await resolver.ready());
|
||||
}
|
||||
|
||||
export * from "@lumeweb/libresolver/lib/util.js";
|
||||
|
|
Loading…
Reference in New Issue