*Make async
This commit is contained in:
parent
9e8665338b
commit
994cab10bc
|
@ -50,7 +50,7 @@ export class SwarmClient extends Client {
|
||||||
return this.callModuleReturn("getRelays", { swarm: this.swarm });
|
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 });
|
this.callModule("join", { id: this.id, topic });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue