May I know how to emit a broadcast to a room of gevent socket io when the data is not triggered by a socket?
My data comes from another part of my program which listens to data changes from an external server which does not use socket io. After processing those data I would like to broadcast it to everyone in the same room but I have no idea on how to do that.
Is there a way to get an instance of the namespace itself so that I can emit a broadcast?
May I know how to emit a broadcast to a room of gevent socket io when the data is not triggered by a socket? My data comes from another part of my program which listens to data changes from an external server which does not use socket io. After processing those data I would like to broadcast it to everyone in the same room but I have no idea on how to do that. Is there a way to get an instance of the namespace itself so that I can emit a broadcast?