Add sockets property to all targets

This commit is contained in:
Jonathan Staab
2023-04-25 15:08:31 -05:00
parent 7cfd022f16
commit b74f2e8e3d
4 changed files with 9 additions and 3 deletions
+3
View File
@@ -10,6 +10,9 @@ export class Relay {
})
})
}
get sockets() {
return [this.socket]
}
async send(...payload) {
await this.socket.connect()