Skip to content
Browse files

doc: improve doc Http2Session:Timeout

Add line in doc/ for 'timeout' event which tell readers
that 'timeout' event doesn't except any arguments.

Refs: nodejs/help#877
PR-URL: #30161
Reviewed-By: Anna Henningsen <>
Reviewed-By: Luigi Pinca <>
Reviewed-By: David Carlier <>
Reviewed-By: Gireesh Punathil <>
Reviewed-By: Trivikram Kamat <>
  • Loading branch information
dev-313 authored and targos committed Oct 29, 2019
1 parent b88314f commit 7b5047454bea398c1375fed3b59b13cfd3f39b9c
Showing with 1 addition and 0 deletions.
  1. +1 −0 doc/api/
@@ -311,6 +311,7 @@ added: v8.4.0
After the `http2session.setTimeout()` method is used to set the timeout period
for this `Http2Session`, the `'timeout'` event is emitted if there is no
activity on the `Http2Session` after the configured number of milliseconds.
Its listener does not expect any arguments.


0 comments on commit 7b50474

Please sign in to comment.
You can’t perform that action at this time.