mirror of
https://github.com/socketio/socket.io.git
synced 2026-04-30 03:00:39 -04:00
New syntax:
```
io.except("room1").emit(...);
io.to("room1").except("room2").emit(...);
socket.broadcast.except("room1").emit(...);
socket.to("room1").except("room2").emit(...);
```
Related:
- https://github.com/socketio/socket.io/issues/3629
- https://github.com/socketio/socket.io/issues/3657