From c0d1423bd318959d3bac2ba7f045198e6a304b37 Mon Sep 17 00:00:00 2001 From: Indranil Dasgupta Date: Sat, 14 Apr 2018 15:19:45 +0200 Subject: [PATCH] doc: close event does not take arguments Explicitly added in the docs that the close event does not expect any arguments when invoked. Fixes: https://github.com/nodejs/node/issues/20018 Backport-PR-URL: https://github.com/nodejs/node/pull/22850 PR-URL: https://github.com/nodejs/node/pull/20031 Reviewed-By: Vse Mozhet Byt Reviewed-By: Trivikram Kamat Reviewed-By: James M Snell --- doc/api/http2.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/api/http2.md b/doc/api/http2.md index df70278a071732..ea5449733b051b 100644 --- a/doc/api/http2.md +++ b/doc/api/http2.md @@ -128,7 +128,8 @@ solely on the API of the `Http2Session`. added: v8.4.0 --> -The `'close'` event is emitted once the `Http2Session` has been destroyed. +The `'close'` event is emitted once the `Http2Session` has been destroyed. Its +listener does not expect any arguments. #### Event: 'connect'