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

[Backport 8.14] Update asStream code example #2244

Merged
merged 1 commit into from
Apr 30, 2024
Merged

Conversation

github-actions[bot]
Copy link
Contributor

Backport 45e3c06 from #2242.

#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)
@JoshMock JoshMock merged commit b544bd5 into 8.14 Apr 30, 2024
4 checks passed
@JoshMock JoshMock deleted the backport-2242-to-8.14 branch April 30, 2024 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant