* Excludes a room when emitting. * * @example * // the "foo" event will be broadcast to all connected clients, except the ones that are in the "room-101" room * io.except("room-101").emit("foo", "bar"); * * // with an array of rooms * io.except(["room-101", "room-102"]).emit("fo
(room: Room | Room[])
| 834 | * @return a new {@link BroadcastOperator} instance for chaining |
| 835 | */ |
| 836 | public except(room: Room | Room[]) { |
| 837 | return this.sockets.except(room); |
| 838 | } |
| 839 | |
| 840 | /** |
| 841 | * Sends a `message` event to all clients. |
no outgoing calls
no test coverage detected