Skip to content

Commit 9339f9f

Browse files
jasnellMylesBorins
authored andcommitted
doc: document the ready event for Http2Stream
Fixes: #22804 PR-URL: #34221 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
1 parent 25ac669 commit 9339f9f

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

doc/api/http2.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -984,6 +984,15 @@ argument identifying the frame type, and an integer argument identifying the
984984
error code. The `Http2Stream` instance will be destroyed immediately after the
985985
`'frameError'` event is emitted.
986986

987+
#### Event: `'ready'`
988+
<!-- YAML
989+
added: v8.4.0
990+
-->
991+
992+
The `'ready'` event is emitted when the `Http2Stream` has been opened, has
993+
been assigned an `id`, and can be used. The listener does not expect any
994+
arguments.
995+
987996
#### Event: `'timeout'`
988997
<!-- YAML
989998
added: v8.4.0

0 commit comments

Comments
 (0)