You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now I have to maintain a map of connected sockets per topic (const socketsMap: Map<string, uWS.WebSocket<ConnectionData>>) which I would like to avoid.
Alternatively, if there was a way to get all the sockets subscribed to a topic directly (server.subscribers(topic)), that would meet my needs as well.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I would like to do something like this:
Right now I have to maintain a map of connected sockets per topic (
const socketsMap: Map<string, uWS.WebSocket<ConnectionData>>
) which I would like to avoid.Alternatively, if there was a way to get all the sockets subscribed to a topic directly (
server.subscribers(topic)
), that would meet my needs as well.Beta Was this translation helpful? Give feedback.
All reactions