From b7070f315f6b405a5166235d4330ae94d720bd0d Mon Sep 17 00:00:00 2001 From: dev-313 Date: Wed, 30 Oct 2019 18:55:59 +0530 Subject: [PATCH] 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: https://github.com/nodejs/help/issues/877 PR-URL: https://github.com/nodejs/node/pull/30179 Reviewed-By: Gireesh Punathil Reviewed-By: Trivikram Kamat --- doc/api/http2.md | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/api/http2.md b/doc/api/http2.md index 07ca77e30f5e30..53461ac58d4605 100644 --- a/doc/api/http2.md +++ b/doc/api/http2.md @@ -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.