You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* the stream should handle the errors accordingly.
*
* @example
* ```ts
* try {
* // consume stream
* for await (const chunk of response.text) {
* console.log(chunk);
* }
*
* } catch(e) {
* // stream ended with an error
* console.error(e);
* }
* ```
*
jrieken
added
info-needed
Issue requires more information from poster
and removed
bug
Issue identified by VS Code Team member as probable bug
labels
May 29, 2024
Testing #213514
I think the code example should be:
e.g. reponse.stream -> response.text
The text was updated successfully, but these errors were encountered: