This page is not complete.
WritableStreamDefaultController() constructor creates and returns a
WritableStreamDefaultController() object instance.
Note: You wouldn't use this constructor manually — this is used during the construction of a
var writableStreamController = new WritableStreamDefaultController(stream, underlyingSink, size, highWaterMark);
WritableStreamto be controlled.
- An object containing methods and properties that define how the constructed stream instance will behave. See the
WritableStream()constructor's parameter definitions for more information.
- A method containing a parameter
chunk— this indicates the size to use for each chunk, in bytes.
- 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 supplied
streamparameter is not a
WritableStream, or it already has an associated controller.
The definition of 'WritableStreamDefaultController()' 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.
No compatibility data found. Please contribute data for "path.to.feature.NameOfTheConstructor" (depth: 1) to the MDN compatibility data repository.