does except(roomId) work with socket.id? #4267
Answered
by
darrachequesne
SupertigerDev
asked this question in
Q&A
-
I want to emit an event to everyone in the room but except 1 io.in("room1").except(socket.id).emit("event", data) in the cheetsheat, it just says about rooms and not socket.id Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
darrachequesne
Feb 7, 2022
Replies: 1 comment
-
Yes it does! I will update the documentation to make it clearer. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
SupertigerDev
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes it does! I will update the documentation to make it clearer.