Skip to content

Commit

Permalink
doc: changed wording to better state listener
Browse files Browse the repository at this point in the history
Added wording to better state that it is in fact the listener
that is not expecting any arguments

Fixes: nodejs#20018
  • Loading branch information
indranil committed Apr 14, 2018
1 parent 83008db commit 158aeb4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/api/http2.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ solely on the API of the `Http2Session`.
added: v8.4.0
-->

The `'close'` event is emitted once the `Http2Session` has been destroyed. It
does not expect any arguments.
The `'close'` event is emitted once the `Http2Session` has been destroyed. Its
listener does not expect any arguments.

#### Event: 'connect'
<!-- YAML
Expand Down

0 comments on commit 158aeb4

Please sign in to comment.