Regarding conditionally mange updates on server side through socket #4823
Unanswered
Jeelkumar-patel
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Hi! I think this is a good use case for rooms: io.on("connection", (socket) => {
socket.join("some room");
}); And then later: io.to("some room").emit("some event"); Reference: https://socket.io/docs/v4/rooms/ |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey,
Thanks in Advance
I have one question. I want conditionally send update to all connected client.
Like Ex In my app there is many projects which have multiple user to assigned. so each project have multiple user. and for maintaining data I have used firebase firestore. Tiil now my whole data manage with Firebase Firestore snapshot but now I want to established socket in that for real time update. and also I want to send update to particular user who is assigned to that project. not other who is connected to socket. How to implement this type of flow with socket.
Beta Was this translation helpful? Give feedback.
All reactions