Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update asStream code example #2242

Merged
merged 1 commit into from
Apr 30, 2024
Merged

Update asStream code example #2242

merged 1 commit into from
Apr 30, 2024

Conversation

JoshMock
Copy link
Member

#2241 notes that there is no body attribute on a response. This is mostly just a typo in the example, as result itself is a readable stream, unless meta: true is passed, in which case result.body will be a readable stream.

Also dropped the callback-style stream processing example as it's a bit outdated.

#2241 notes that there
is no body attribute on a response. This is mostly just a typo in the
example, as `result` itself is a readable stream, unless `meta: true` is
passed, in which case `result.body` will be a readable stream.

Also dropped the callback-style stream processing example as it's a bit
outdated.
@JoshMock JoshMock merged commit 45e3c06 into main Apr 30, 2024
11 checks passed
@JoshMock JoshMock deleted the as-stream-doc-fix branch April 30, 2024 18:17
github-actions bot pushed a commit that referenced this pull request Apr 30, 2024
#2241 notes that there
is no body attribute on a response. This is mostly just a typo in the
example, as `result` itself is a readable stream, unless `meta: true` is
passed, in which case `result.body` will be a readable stream.

Also dropped the callback-style stream processing example as it's a bit
outdated.

(cherry picked from commit 45e3c06)
github-actions bot pushed a commit that referenced this pull request Apr 30, 2024
#2241 notes that there
is no body attribute on a response. This is mostly just a typo in the
example, as `result` itself is a readable stream, unless `meta: true` is
passed, in which case `result.body` will be a readable stream.

Also dropped the callback-style stream processing example as it's a bit
outdated.

(cherry picked from commit 45e3c06)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant