From d27978bf931a88456fccd9cf446a81e1afbfb1bc Mon Sep 17 00:00:00 2001 From: dev-313 Date: Wed, 30 Oct 2019 18:55:59 +0530 Subject: [PATCH] doc: improve doc Http2Stream:Aborted Line added in the description of http2 aborted event that it's listener does not expect any arguments. Fixes: https://github.com/nodejs/help/issues/877 --- doc/api/http2.md | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/api/http2.md b/doc/api/http2.md index 058958517d47ca..9c5be526b80fa2 100644 --- a/doc/api/http2.md +++ b/doc/api/http2.md @@ -937,6 +937,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.