Skip to content

stream: add isErrored helper - #41121

Closed
ronag wants to merge 6 commits into
nodejs:masterfrom
nxtedition:stream-is-errored
Closed

stream: add isErrored helper#41121
ronag wants to merge 6 commits into
nodejs:masterfrom
nxtedition:stream-is-errored

Conversation

@ronag

@ronagronag commented Dec 9, 2021

Copy link
Copy Markdown
Member

@ronagronag added stream Issues and PRs related to the stream subsystem. web streams labels Dec 9, 2021
@ronag
ronag requested review from jasnell and mcollinaDecember 9, 2021 08:16
@nodejs-github-botnodejs-github-bot added the needs-ci PRs that need a full CI run. label Dec 9, 2021
@ronag

ronag commented Dec 9, 2021

Copy link
Copy Markdown
MemberAuthor

@nodejs/streams

@mcollinamcollina left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@ronag
ronagforce-pushed the stream-is-errored branch 2 times, most recently from c76beb4 to 1e2413bCompareDecember 9, 2021 09:33
@ronagronag added author ready PRs that have at least one approval, no pending requests for changes, and a CI started. request-ci Add this label to start a Jenkins CI on a PR. and removed needs-ci PRs that need a full CI run. labels Dec 9, 2021
@github-actionsgithub-actionsBot removed the request-ci Add this label to start a Jenkins CI on a PR. label Dec 9, 2021
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Comment threaddoc/api/stream.md Outdated
Comment threaddoc/api/stream.md Outdated
Comment threaddoc/api/stream.md Outdated
@mscdex

Copy link
Copy Markdown
Contributor

Is there a reason this is only for Readable streams?

Also, maybe we should name it hasErrored() or hasError() instead?

Comment threaddoc/api/stream.md Outdated
ronagand others added 2 commits December 9, 2021 15:34
Co-authored-by: Luigi Pinca <luigipinca@gmail.com>
Co-authored-by: mscdex <mscdex@users.noreply.github.com>
Co-authored-by: mscdex <mscdex@users.noreply.github.com>
Comment threaddoc/api/stream.md Outdated
@ronag
ronag requested review from lpinca and mscdexDecember 9, 2021 14:34
@ronagronag added the request-ci Add this label to start a Jenkins CI on a PR. label Dec 14, 2021
@github-actionsgithub-actionsBot removed the request-ci Add this label to start a Jenkins CI on a PR. label Dec 14, 2021
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@ronagronag added the request-ci Add this label to start a Jenkins CI on a PR. label Dec 16, 2021
@github-actionsgithub-actionsBot removed the request-ci Add this label to start a Jenkins CI on a PR. label Dec 16, 2021
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@ronag

Copy link
Copy Markdown
MemberAuthor

Landed in 752d75d

ronag added a commit that referenced this pull request Dec 16, 2021
Refs: nodejs/undici#1134
PR-URL: #41121
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
@ronagronag closed this Dec 16, 2021
@ronagronag mentioned this pull request Dec 16, 2021
@lpinca

Copy link
Copy Markdown
Member

It's a bit too late but I agree with @mscdex about the name. hasErrored() seems more correct.

danielleadams pushed a commit that referenced this pull request Dec 16, 2021
Refs: nodejs/undici#1134
PR-URL: #41121
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
danielleadams pushed a commit that referenced this pull request Dec 17, 2021
Refs: nodejs/undici#1134
PR-URL: #41121
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
danielleadams pushed a commit that referenced this pull request Jan 31, 2022
Refs: nodejs/undici#1134
PR-URL: #41121
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
danielleadams pushed a commit that referenced this pull request Feb 1, 2022
Refs: nodejs/undici#1134
PR-URL: #41121
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
@danielleadamsdanielleadams mentioned this pull request Feb 1, 2022
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author readyPRs that have at least one approval, no pending requests for changes, and a CI started.streamIssues and PRs related to the stream subsystem.web streams

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants

@ronag@nodejs-github-bot@mscdex@lpinca@mcollina@JungMinu@aymen94