(room, socketId)
| 266 | } |
| 267 | |
| 268 | addToRoom(room, socketId) { |
| 269 | if (!this.roomConnections.has(room)) { |
| 270 | this.roomConnections.set(room, new Set()); |
| 271 | } |
| 272 | this.roomConnections.get(room).add(socketId); |
| 273 | } |
| 274 | |
| 275 | removeFromRoom(room, socketId) { |
| 276 | const roomSockets = this.roomConnections.get(room); |
no test coverage detected