* Makes the matching socket instances join the specified rooms * * @param opts - the filters to apply * @param rooms - the rooms to join
(opts: BroadcastOptions, rooms: Room[])
| 301 | * @param rooms - the rooms to join |
| 302 | */ |
| 303 | public addSockets(opts: BroadcastOptions, rooms: Room[]): void { |
| 304 | this.apply(opts, (socket) => { |
| 305 | socket.join(rooms); |
| 306 | }); |
| 307 | } |
| 308 | |
| 309 | /** |
| 310 | * Makes the matching socket instances leave the specified rooms |
no test coverage detected