*Make async

This commit is contained in:
Derrick Hammer 2023-02-01 14:08:11 -05:00
parent 9e8665338b
commit 994cab10bc
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ export class SwarmClient extends Client {
return this.callModuleReturn("getRelays", { swarm: this.swarm });
}
join(topic: Buffer): void {
public async join(topic: Buffer): Promise<void> {
this.callModule("join", { id: this.id, topic });
}
}