Response
objects can accept an async generator function as their body. This allows you to stream data to the client as it becomes available, rather than waiting for the entire response to be ready.
You can pass any async iterable directly to
Response
: