The ReadableByteStreamController interface of the Streams API
a controller allowing control of a web.ReadableStream
's state
internal queue. Byte stream controllers are for byte streams.
The ReadableByteStreamController interface of the Streams API a controller allowing control of a `web.ReadableStream`'s state internal queue. Byte stream controllers are for byte streams.
(byob-request this)
Property.
The byobRequest getter property of the web.ReadableByteStreamController
returns the current BYOB pull request.
var request = readableByteStreamControllerInstance.byobRequest;
See also: https://developer.mozilla.org/en-US/docs/Web/API/ReadableByteStreamController/byobRequest
Property. The byobRequest getter property of the `web.ReadableByteStreamController` returns the current BYOB pull request. `var request = readableByteStreamControllerInstance.byobRequest;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/ReadableByteStreamController/byobRequest`
(close this)
Method.
The close() method of the web.ReadableByteStreamController
closes the associated stream.
readableByteStreamControllerInstance.close();
See also: https://developer.mozilla.org/en-US/docs/Web/API/ReadableByteStreamController/close
Method. The close() method of the `web.ReadableByteStreamController` closes the associated stream. `readableByteStreamControllerInstance.close();` See also: `https://developer.mozilla.org/en-US/docs/Web/API/ReadableByteStreamController/close`
Constructor.
The ReadableByteStreamController() constructor creates and returns a ReadableByteStreamController() 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.
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/ReadableByteStreamController/ReadableByteStreamController
Constructor. The ReadableByteStreamController() constructor creates and returns a ReadableByteStreamController() 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. 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/ReadableByteStreamController/ReadableByteStreamController`
(desired-size this)
Property.
The desiredSize getter property of the web.ReadableByteStreamController
returns the desired size required to fill the stream's internal
var desiredSize = readableByteStreamControllerInstance.desiredSize;
See also: https://developer.mozilla.org/en-US/docs/Web/API/ReadableByteStreamController/desiredSize
Property. The desiredSize getter property of the `web.ReadableByteStreamController` returns the desired size required to fill the stream's internal `var desiredSize = readableByteStreamControllerInstance.desiredSize;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/ReadableByteStreamController/desiredSize`
(enqueue this chunk)
Method.
The enqueue() method of the web.ReadableByteStreamController
enqueues a given chunk in the associated stream.
readableByteStreamControllerInstance.enqueue(chunk);
See also: https://developer.mozilla.org/en-US/docs/Web/API/ReadableByteStreamController/enqueue
Method. The enqueue() method of the `web.ReadableByteStreamController` enqueues a given chunk in the associated stream. `readableByteStreamControllerInstance.enqueue(chunk);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/ReadableByteStreamController/enqueue`
(error this e)
Method.
The error() method of the web.ReadableByteStreamController
causes any future interactions with the associated stream to
readableByteStreamControllerInstance.error(e);
See also: https://developer.mozilla.org/en-US/docs/Web/API/ReadableByteStreamController/error
Method. The error() method of the `web.ReadableByteStreamController` causes any future interactions with the associated stream to `readableByteStreamControllerInstance.error(e);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/ReadableByteStreamController/error`
(set-byob-request! this val)
Property.
The byobRequest getter property of the web.ReadableByteStreamController
returns the current BYOB pull request.
var request = readableByteStreamControllerInstance.byobRequest;
See also: https://developer.mozilla.org/en-US/docs/Web/API/ReadableByteStreamController/byobRequest
Property. The byobRequest getter property of the `web.ReadableByteStreamController` returns the current BYOB pull request. `var request = readableByteStreamControllerInstance.byobRequest;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/ReadableByteStreamController/byobRequest`
(set-desired-size! this val)
Property.
The desiredSize getter property of the web.ReadableByteStreamController
returns the desired size required to fill the stream's internal
var desiredSize = readableByteStreamControllerInstance.desiredSize;
See also: https://developer.mozilla.org/en-US/docs/Web/API/ReadableByteStreamController/desiredSize
Property. The desiredSize getter property of the `web.ReadableByteStreamController` returns the desired size required to fill the stream's internal `var desiredSize = readableByteStreamControllerInstance.desiredSize;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/ReadableByteStreamController/desiredSize`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close