(room, socketId)
| 273 | } |
| 274 | |
| 275 | removeFromRoom(room, socketId) { |
| 276 | const roomSockets = this.roomConnections.get(room); |
| 277 | if (roomSockets) { |
| 278 | roomSockets.delete(socketId); |
| 279 | if (roomSockets.size === 0) { |
| 280 | this.roomConnections.delete(room); |
| 281 | } |
| 282 | } |
| 283 | } |
| 284 | |
| 285 | // Emit progress events for AI orchestration |
| 286 | emitProgress(conversationId, event, data = {}) { |
no test coverage detected