socket.io icon indicating copy to clipboard operation
socket.io copied to clipboard

Send message to a Set<Room>

Open floriannari opened this issue 3 weeks ago • 0 comments

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.

floriannari avatar Nov 17 '25 15:11 floriannari