Skip to content

Commit 4381c47

Browse files
authored
doc: correct QuicStream direction and id types
Signed-off-by: Kisnner Obando <kisnnerobando7@gmail.com> PR-URL: #66687 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Tim Perry <pimterry@gmail.com>
1 parent 68df1db commit 4381c47

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

‎doc/api/quic.md‎

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2113,10 +2113,9 @@ side, it is always `false`.
21132113
added: v23.8.0
21142114
-->
21152115

2116-
* Type: {string|null} One of `'bidi'`, `'uni'`, or `null`.
2116+
* Type: {string} One of `'bidi'` or `'uni'`.
21172117

2118-
The directionality of the stream, or `null` if the stream has been destroyed
2119-
or is still pending. Read only.
2118+
The directionality of the stream. Read only.
21202119

21212120
### `stream.budget`
21222121

@@ -2145,8 +2144,7 @@ added: v23.8.0
21452144

21462145
* Type: {bigint|null}
21472146

2148-
The stream ID, or `null` if the stream has been destroyed or is still
2149-
pending. Read only.
2147+
The stream ID, or `null` while the stream is pending. Read only.
21502148

21512149
### `stream.onerror`
21522150

0 commit comments

Comments
 (0)