From f3f4ee69240916683ec5806970b1ea92751a1ec2 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 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'