Liking cljdoc? Tell your friends :D

web.fetch.ReadableStreamDefaultController

The ReadableStreamDefaultController interface of the Streams represents a controller allowing control of a web.files.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.files.ReadableStream`'s
and internal queue. Default controllers are for streams that
not byte streams.
raw docstring

closecljs

(close this)

Method.

The close() method of the web.fetch.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.fetch.ReadableStreamDefaultController`
closes the associated stream.

`readableStreamDefaultControllerInstance.close();`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/ReadableStreamDefaultController/close`
sourceraw docstring

desired-sizecljs

(desired-size this)

Property.

The desiredSize getter property of the web.fetch.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.fetch.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`
sourceraw docstring

enqueuecljs

(enqueue this chunk)

Method.

The enqueue() method of the web.fetch.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.fetch.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`
sourceraw docstring

errorcljs

(error this e)

Method.

The error() method of the web.fetch.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.fetch.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`
sourceraw docstring

set-desired-size!cljs

(set-desired-size! this val)

Property.

The desiredSize getter property of the web.fetch.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.fetch.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`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close