The ReadableStreamDefaultController interface of the Streams
represents a controller allowing control of a web.ReadableStream
's
and internal queue. Default controllers are for streams that
not byte streams.
The ReadableStreamDefaultController interface of the Streams represents a controller allowing control of a `web.ReadableStream`'s and internal queue. Default controllers are for streams that not byte streams.
(close this)
Method.
The close() method of the web.ReadableStreamDefaultController
closes the associated stream.
readableStreamDefaultControllerInstance.close();
See also: https://developer.mozilla.org/en-US/docs/Web/API/ReadableStreamDefaultController/close
Method. The close() method of the `web.ReadableStreamDefaultController` closes the associated stream. `readableStreamDefaultControllerInstance.close();` See also: `https://developer.mozilla.org/en-US/docs/Web/API/ReadableStreamDefaultController/close`
Constructor.
The ReadableStreamDefaultController() constructor creates and returns a ReadableStreamDefaultController() object instance.
stream
The web.ReadableStream
to be controlled.
underlyingSource
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.
size
A method containing a parameter chunk — this indicates the size to use for each chunk, in bytes.
highWaterMark
A non-negative integer — this defines the total number of chunks that can be contained in the internal queue before backpressure is applied.
See also: https://developer.mozilla.org/en-US/docs/Web/API/ReadableStreamDefaultController/ReadableStreamDefaultController
Constructor. The ReadableStreamDefaultController() constructor creates and returns a ReadableStreamDefaultController() object instance. stream The `web.ReadableStream` to be controlled. underlyingSource 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. size A method containing a parameter chunk — this indicates the size to use for each chunk, in bytes. highWaterMark A non-negative integer — this defines the total number of chunks that can be contained in the internal queue before backpressure is applied. See also: `https://developer.mozilla.org/en-US/docs/Web/API/ReadableStreamDefaultController/ReadableStreamDefaultController`
(desired-size this)
Property.
The desiredSize getter property of the web.ReadableStreamDefaultController
returns the desired size required to fill the stream's internal
var desiredSize = readableStreamDefaultControllerInstance.desiredSize;
See also: https://developer.mozilla.org/en-US/docs/Web/API/ReadableStreamDefaultController/desiredSize
Property. The desiredSize getter property of the `web.ReadableStreamDefaultController` returns the desired size required to fill the stream's internal `var desiredSize = readableStreamDefaultControllerInstance.desiredSize;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/ReadableStreamDefaultController/desiredSize`
(enqueue this chunk)
Method.
The enqueue() method of the web.ReadableStreamDefaultController
enqueues a given chunk in the associated stream.
readableStreamDefaultControllerInstance.enqueue(chunk);
See also: https://developer.mozilla.org/en-US/docs/Web/API/ReadableStreamDefaultController/enqueue
Method. The enqueue() method of the `web.ReadableStreamDefaultController` enqueues a given chunk in the associated stream. `readableStreamDefaultControllerInstance.enqueue(chunk);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/ReadableStreamDefaultController/enqueue`
(error this e)
Method.
The error() method of the web.ReadableStreamDefaultController
causes any future interactions with the associated stream to
readableStreamDefaultControllerInstance.error(e);
See also: https://developer.mozilla.org/en-US/docs/Web/API/ReadableStreamDefaultController/error
Method. The error() method of the `web.ReadableStreamDefaultController` causes any future interactions with the associated stream to `readableStreamDefaultControllerInstance.error(e);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/ReadableStreamDefaultController/error`
(set-desired-size! this val)
Property.
The desiredSize getter property of the web.ReadableStreamDefaultController
returns the desired size required to fill the stream's internal
var desiredSize = readableStreamDefaultControllerInstance.desiredSize;
See also: https://developer.mozilla.org/en-US/docs/Web/API/ReadableStreamDefaultController/desiredSize
Property. The desiredSize getter property of the `web.ReadableStreamDefaultController` returns the desired size required to fill the stream's internal `var desiredSize = readableStreamDefaultControllerInstance.desiredSize;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/ReadableStreamDefaultController/desiredSize`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close