Skip to content

Commit 9c4a9e7

Browse files
dev-scripttargos
authored andcommitted
doc: explain http2 aborted event callback
Line added in the description of http2 aborted event that it's listener does not expect any arguments. Refs: nodejs/help#877 PR-URL: #30179 Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
1 parent ab03c29 commit 9c4a9e7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

doc/api/http2.md

+1
Original file line numberDiff line numberDiff line change
@@ -938,6 +938,7 @@ added: v8.4.0
938938

939939
The `'aborted'` event is emitted whenever a `Http2Stream` instance is
940940
abnormally aborted in mid-communication.
941+
Its listener does not expect any arguments.
941942

942943
The `'aborted'` event will only be emitted if the `Http2Stream` writable side
943944
has not been ended.

0 commit comments

Comments
 (0)