socket.io
socket.io copied to clipboard
Send message to a Set<Room>
Is your feature request related to a problem? Please describe. I would like to send a message to a Set of Rooms.
Describe the solution you'd like Since https://github.com/socketio/socket.io/commit/085d1de9df909651de8b313cc6f9f253374b702e, socket.io accepts an array. To go further, it could accept Sets, or even iterables.
Describe alternatives you've considered
In the meantime, I'm simply using Array.from(...).
Additional context This feature is obviously not mandatory, but I think a number of developers would benefit from it.