Skip to content

Conversation

@dev-script
Copy link
Contributor

@dev-scriptdev-script commented Dec 10, 2019

doc change for stream.md that 'finish' event should be before
writer.end

fixes: #30759

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

doc change for stream.md that 'finish' event should be before writer.end fixes: #30759
@nodejs-github-botnodejs-github-bot added doc Issues and PRs related to the documentations. stream Issues and PRs related to the stream subsystem. labels Dec 10, 2019
@dev-script
Copy link
ContributorAuthor

@GrosSacASac please review.

@ronag
Copy link
Member

ronag commented Dec 10, 2019

I'm not sure I understand the purpose here? 'finish' should be emitted in the next tick so the order there shouldn't matter. Is this to make it easier to understand?

@GrosSacASac
Copy link
Contributor

Yes to make it easier to understand and also to make it easier to switch to implementation that don't rely on this hidden gimmick.

@TrottTrott added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Dec 13, 2019
@Trott
Copy link
Member

Landed in 08728a1

@TrottTrott closed this Dec 13, 2019
Trott pushed a commit that referenced this pull request Dec 13, 2019
doc change for stream.md that 'finish' event should be before writer.end fixes: #30759 PR-URL: #30889Fixes: #30759 Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Rich Trott <[email protected]>
MylesBorins pushed a commit that referenced this pull request Dec 17, 2019
doc change for stream.md that 'finish' event should be before writer.end fixes: #30759 PR-URL: #30889Fixes: #30759 Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Rich Trott <[email protected]>
@MylesBorinsMylesBorins mentioned this pull request Dec 17, 2019
targos pushed a commit that referenced this pull request Jan 14, 2020
doc change for stream.md that 'finish' event should be before writer.end fixes: #30759 PR-URL: #30889Fixes: #30759 Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Rich Trott <[email protected]>
@targostargos mentioned this pull request Jan 15, 2020
BethGriggs pushed a commit that referenced this pull request Feb 6, 2020
doc change for stream.md that 'finish' event should be before writer.end fixes: #30759 PR-URL: #30889Fixes: #30759 Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Rich Trott <[email protected]>
@MylesBorinsMylesBorins mentioned this pull request Feb 8, 2020
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.docIssues and PRs related to the documentations.streamIssues and PRs related to the stream subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Documentation writable stream example confusing order

6 participants

@dev-script@ronag@GrosSacASac@Trott@BridgeAR@nodejs-github-bot