Its possible i emit more than one argument in the same function Flask_socketio #1891
Unanswered
lucaspferro
asked this question in
Q&A
Replies: 1 comment
-
You can emit a single object with all the items you want to send as sub-objects. socketio.emit('everything', json_object, 'count': count) or something like that. Hopefully you get the idea. |
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.
-
Here is the preview of my app.py that I send my messages with socketio
I write a json file and after reading it I want to emit more than one argument from my json, is it possible to do it in the same socketio function?
i try to do this
Beta Was this translation helpful? Give feedback.
All reactions