Closed billouboq closed 4 years ago
Well, since nodejs 0.10 is already EOL'd, and 0.12 will be in a few days, I guess switching to a Map would make sense now (and the Room
object could also be removed).
I think a lot of people are still using node 0.10 but I'm more than happy to drop older versions.
I think it is time...
Is it time yet?
I guess it's not :cry:
Let's switch to ES6 Map/Set (better late than never).
Closed by https://github.com/socketio/socket.io-adapter/commit/53ed3f4099c073546c66d911a95171adcefc524c.
Not really sure about this one what do you think? Maybe we should use a map instead of an object to store sockets in future version (for this we need to drop support of nodejs 0.10, so this might be a little to soon for this) In order to work, socket.io-redis needs this PR https://github.com/socketio/socket.io-redis/pull/164