Skip to content
Discussion options

You must be logged in to vote

What you are doing is mixing several concurrency styles in one application and that is a recipe for trouble. I suggest that you go with a single type of concurrency and then choose your dependencies based on your selection. Flask-SocketIO does not work with asyncio, but you can use the python-socketio package (a dependency) in asynchronous applications. Of course it goes without say that if you do choose that route you will also have to drop Flask, which is also not fully supportive of asynchronous applications.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by LostInDarkMath
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