Stream response with AsyncGenerator #5616
Unanswered
LorenzoVaccher01
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would need to stream data to the user via an endpoint through a function that returns an AsyncGenerator
The idea is as follows:
To be able to handle requests with async/await I installed
flask[async]
(3.0.3) but when I add async to themessage()
function I get the error:Beta Was this translation helpful? Give feedback.
All reactions