Response accepts an async generator function as its body, so you can 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:
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
Response accepts an async generator function as its body, so you can stream data to the client as it becomes available rather than waiting for the entire response to be ready.
Response: