Skip to content

Conversation

@indranil
Copy link
Contributor

@indranilindranil commented Apr 14, 2018

Explicitly added in the docs that the close event does not expect
any arguments when invoked.

Fixes: #20018

Checklist

Explicitly added in the docs that the close event does not expect any arguments when invoked. Fixes: nodejs#20018
@nodejs-github-botnodejs-github-bot added doc Issues and PRs related to the documentations. http2 Issues or PRs related to the http2 subsystem. labels Apr 14, 2018
@ryzokuken
Copy link
Contributor

cc @mcollina @nodejs/http2

-->

The `'close'` event is emitted once the `Http2Session` has been destroyed.
The `'close'` event is emitted once the `Http2Session` has been destroyed. It
Copy link
Contributor

Choose a reason for hiding this comment

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

Thank you!
Feel free to ignore, but maybe it would be a bit more clear if we write "Its listener does not expect any arguments"?

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

Thanks! Good idea. I edited the wording to reflect the change.

Added wording to better state that it is in fact the listener that is not expecting any arguments Fixes: nodejs#20018
@vsemozhetbytvsemozhetbyt added the fast-track PRs that do not need to wait for 48 hours to land. label Apr 14, 2018
@vsemozhetbyt
Copy link
Contributor

@vsemozhetbytvsemozhetbyt added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Apr 14, 2018
@ryzokuken
Copy link
Contributor

ryzokuken commented Apr 14, 2018

Because this was fast-tracked it can be landed, right? (With perhaps a couple more reviews)

trivikr pushed a commit that referenced this pull request Apr 14, 2018
Explicitly added in the docs that the close event does not expect any arguments when invoked. Fixes: #20018 PR-URL: #20031 Reviewed-By: Vse Mozhet Byt <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: James M Snell <[email protected]>
@trivikr
Copy link
Member

trivikr commented Apr 14, 2018

Landed in 594e59d

Congrats @indranil on your first contribution to Node.js core! 🎉🎉🎉

@trivikrtrivikr closed this Apr 14, 2018
@indranilindranil deleted the edit-http2-docs-specify-args-close-event branch April 15, 2018 02:05
@indranilindranil restored the edit-http2-docs-specify-args-close-event branch April 15, 2018 02:07
jasnell pushed a commit that referenced this pull request Apr 16, 2018
Explicitly added in the docs that the close event does not expect any arguments when invoked. Fixes: #20018 PR-URL: #20031 Reviewed-By: Vse Mozhet Byt <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: James M Snell <[email protected]>
BridgeAR pushed a commit to BridgeAR/node that referenced this pull request May 1, 2018
Explicitly added in the docs that the close event does not expect any arguments when invoked. Fixes: nodejs#20018 PR-URL: nodejs#20031 Reviewed-By: Vse Mozhet Byt <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: James M Snell <[email protected]>
kjin pushed a commit to kjin/node that referenced this pull request Aug 23, 2018
Explicitly added in the docs that the close event does not expect any arguments when invoked. Fixes: nodejs#20018 PR-URL: nodejs#20031 Reviewed-By: Vse Mozhet Byt <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: James M Snell <[email protected]>
kjin pushed a commit to kjin/node that referenced this pull request Sep 11, 2018
Explicitly added in the docs that the close event does not expect any arguments when invoked. Fixes: nodejs#20018 PR-URL: nodejs#20031 Reviewed-By: Vse Mozhet Byt <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: James M Snell <[email protected]>
kjin pushed a commit to kjin/node that referenced this pull request Sep 19, 2018
Explicitly added in the docs that the close event does not expect any arguments when invoked. Fixes: nodejs#20018 PR-URL: nodejs#20031 Reviewed-By: Vse Mozhet Byt <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: James M Snell <[email protected]>
kjin pushed a commit to kjin/node that referenced this pull request Oct 16, 2018
Explicitly added in the docs that the close event does not expect any arguments when invoked. Fixes: nodejs#20018 PR-URL: nodejs#20031 Reviewed-By: Vse Mozhet Byt <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: James M Snell <[email protected]>
BethGriggs pushed a commit that referenced this pull request Oct 17, 2018
Explicitly added in the docs that the close event does not expect any arguments when invoked. Fixes: #20018 Backport-PR-URL: #22850 PR-URL: #20031 Reviewed-By: Vse Mozhet Byt <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: James M Snell <[email protected]>
@BethGriggsBethGriggs mentioned this pull request Oct 30, 2018
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.fast-trackPRs that do not need to wait for 48 hours to land.http2Issues or PRs related to the http2 subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

State explicitly in docs that 'close' does not take any arguments

6 participants

@indranil@ryzokuken@vsemozhetbyt@trivikr@jasnell@nodejs-github-bot