This page is not complete.
ReadableByteStreamController() constructor creates and returns a
ReadableByteStreamController() object instance.
Note: You wouldn't use this constructor manually — this is used during the construction of a
var readableStreamController = new ReadableStreamController(stream, underlyingSource, highWaterMark);
ReadableStreamto be controlled.
- An object containing methods and properties that define how the constructed stream instance will behave. See the
ReadableStream()constructor's parameters definitions for more information.
- A non-negative integer — this defines the total number of chunks that can be contained in the internal queue before backpressure is applied.
An instance of the
- The associated
ReadableStreamwas constructed with
autoAllocateChunkSizeset, but its value is not an integer or below 0.
- The supplied
streamparameter is not a
ReadableStream, or it already has an associated controller.
The definition of 'ReadableByteStreamController()' in that specification.
|Living Standard||Initial definition.|
The compatibility table in this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.