How to send server side message from python background task? #1810
Unanswered
pkumar2philips
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Don't know why you reached that conclusion. Emitting from the server without a previous client event is fully supported. It is even in the example application: https://github.com/miguelgrinberg/Flask-SocketIO/blob/main/example/app.py#L25 |
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.
-
It seems to me that server can only send message if its mentioned with @socketio.event/@socketio.on over a function. if we try to send/emit message outside this scope then its not working.
Do we have any solution for this?
Beta Was this translation helpful? Give feedback.
All reactions