* Makes the matching socket instances leave the specified rooms * * @param opts - the filters to apply * @param rooms - the rooms to leave
(opts: BroadcastOptions, rooms: Room[])
| 313 | * @param rooms - the rooms to leave |
| 314 | */ |
| 315 | public delSockets(opts: BroadcastOptions, rooms: Room[]): void { |
| 316 | this.apply(opts, (socket) => { |
| 317 | rooms.forEach((room) => socket.leave(room)); |
| 318 | }); |
| 319 | } |
| 320 | |
| 321 | /** |
| 322 | * Makes the matching socket instances disconnect |
no test coverage detected