Skip to content

Commit c0d1423

Browse files
indranilBethGriggs
authored andcommitted
doc: close event does not take arguments
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]>
1 parent 5862d03 commit c0d1423

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/api/http2.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,8 @@ solely on the API of the `Http2Session`.
128128
added: v8.4.0
129129
-->
130130

131-
The `'close'` event is emitted once the `Http2Session` has been destroyed.
131+
The `'close'` event is emitted once the `Http2Session` has been destroyed. Its
132+
listener does not expect any arguments.
132133

133134
#### Event: 'connect'
134135
<!-- YAML

0 commit comments

Comments
 (0)