Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9750d82

Browse filesBrowse files
debadree25RafaelGSS
authored andcommitted
doc: add description of autoAllocateChunkSize in ReadableStream
Refs: https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream/ReadableStream PR-URL: #48004 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 4f4d0b8 commit 9750d82
Copy full SHA for 9750d82

File tree

Expand file treeCollapse file tree

1 file changed

+4
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-1
lines changed
Open diff view settings
Collapse file

‎doc/api/webstreams.md‎

Copy file name to clipboardExpand all lines: doc/api/webstreams.md
+4-1Lines changed: 4 additions & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,10 @@ added: v16.5.0
124124
* Returns: A promise fulfilled with `undefined`.
125125
* `type` {string} Must be `'bytes'` or `undefined`.
126126
* `autoAllocateChunkSize` {number} Used only when `type` is equal to
127-
`'bytes'`.
127+
`'bytes'`. When set to a non-zero value a view buffer is automatically
128+
allocated to `ReadableByteStreamController.byobRequest`. When not set
129+
one must use stream's internal queues to transfer data via the default
130+
reader `ReadableStreamDefaultReader`.
128131
* `strategy` {Object}
129132
* `highWaterMark` {number} The maximum internal queue size before backpressure
130133
is applied.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.