Replies: 1 comment
-
I think this may be a misunderstanding on your part on what the "emitting from an external process" feature does. The idea is that you can emit to a client, a room, or all connected clients from the external process. There is no provision to emit from the external process to the server, that is not a feature I intended to support. If all you want to do in your external process is to emit to a room full of users, then just add |
Beta Was this translation helpful? Give feedback.
0 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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone. I am a beginner to SocketIO development. I read from https://flask-socketio.readthedocs.io/en/latest/deployment.html#emitting-from-an-external-process that I can emit an event from external process. But is there any recommendation on how to manage those event into an main file?
For instance, I have
So that when multiple is called, there will be a event emitted. I want that user in specific room can receive the event. I noticed that I am unable to handle event 'multiple' in server side, but only on the client side. Is there any possible way to manage/organize such external event? Or should I not do this?
Beta Was this translation helpful? Give feedback.
All reactions