Skip to content

Different requests to same client at same time using Flask Socketio #1931

Answered by miguelgrinberg
athulvis asked this question in Q&A
Discussion options

You must be logged in to vote

I'm sorry, I don't understand. You are emitting temp events as fast as your server can, and you are emitting temp2 every 3 seconds. How can the updates happen at the same time when the rates are different?

This may be more a question about front end development, because I don't see how this can be solved from the Socket.IO side unless you combine your two data items into a single event.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@miguelgrinberg
Comment options

@athulvis
Comment options

@athulvis
Comment options

@miguelgrinberg
Comment options

@athulvis
Comment options

Answer selected by athulvis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants