From 98008dc6a0e6aff0c8a8fc5c28c5c21963364e90 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 0a42dce7e57d05..dae97c0a855893 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'