diff options
author | Indranil Dasgupta <indranild@gmail.com> | 2018-04-14 16:19:45 +0300 |
---|---|---|
committer | Beth Griggs <Bethany.Griggs@uk.ibm.com> | 2018-10-17 02:07:24 +0300 |
commit | c0d1423bd318959d3bac2ba7f045198e6a304b37 (patch) | |
tree | 74df1e16da7e817b43f5b2e65ba24d789c943cd2 /doc | |
parent | 5862d0372c26c3fe3884bcdf16eafdb3fd3a9b39 (diff) |
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 <vsemozhetbyt@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/http2.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/api/http2.md b/doc/api/http2.md index df70278a071..ea5449733b0 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' <!-- YAML |