(message: Uint8Array, exception: WebSocket)
| 56 | } |
| 57 | } |
| 58 | broadcastExcept(message: Uint8Array, exception: WebSocket) { |
| 59 | for (const socket of this._sockets) { |
| 60 | if (socket !== exception) { |
| 61 | socket.send(message); |
| 62 | } |
| 63 | } |
| 64 | } |
| 65 | |
| 66 | destroy() { |
| 67 | rooms.delete(this.name); |