Skip to content

Commit

Permalink
doc: explain http2 aborted event callback
Browse files Browse the repository at this point in the history
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 <gpunathi@in.ibm.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
  • Loading branch information
dev-script authored and targos committed Nov 5, 2019
1 parent 03827dd commit b7070f3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doc/api/http2.md
Original file line number Diff line number Diff line change
Expand Up @@ -938,6 +938,7 @@ added: v8.4.0

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

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

0 comments on commit b7070f3

Please sign in to comment.