GeezerVison is showing github.com — doc: correct QuicStream direction and id types · nodejs/node@1a6d5e0
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: doc/api/quic.md +3-5Lines changed: 3 additions & 5 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -2049,10 +2049,9 @@ side, it is always `false`. |
2049 | 2049 | added: v23.8.0 |
2050 | 2050 | --> |
2051 | 2051 |
|
2052 | | -* Type: {string|null} One of `'bidi'`, `'uni'`, or `null`. |
| 2052 | +* Type: {string} One of `'bidi'` or `'uni'`. |
2053 | 2053 |
|
2054 | | -The directionality of the stream, or `null` if the stream has been destroyed |
2055 | | -or is still pending. Read only. |
| 2054 | +The directionality of the stream. Read only. |
2056 | 2055 |
|
2057 | 2056 | ### `stream.budget` |
2058 | 2057 |
|
@@ -2079,8 +2078,7 @@ added: v23.8.0 |
2079 | 2078 |
|
2080 | 2079 | * Type: {bigint|null} |
2081 | 2080 |
|
2082 | | -The stream ID, or `null` if the stream has been destroyed or is still |
2083 | | -pending. Read only. |
| 2081 | +The stream ID, or `null` while the stream is pending. Read only. |
2084 | 2082 |
|
2085 | 2083 | ### `stream.onerror` |
2086 | 2084 |
|
|