Provides the core interface to iterate over an asynchronous stream response.
AsyncStream(
self,
*,
cast_to: type[_T],
response: httpx.Response,
client: AsyncLangsmith,
options: Optional| Name | Type |
|---|---|
| cast_to | type[_T] |
| response | httpx.Response |
| client | AsyncLangsmith |
| options | Optional[FinalRequestOptions] |
Close the response and release the connection.
Automatically called if the response body is read to completion.