Liking cljdoc? Tell your friends :D

web.ReadableStreamDefaultReader

The ReadableStreamDefaultReader interface of the Streams API a default reader that can be used to read stream data supplied a network (e.g. a fetch request).

The ReadableStreamDefaultReader interface of the Streams API
a default reader that can be used to read stream data supplied
a network (e.g. a fetch request).
raw docstring

cancelcljs

(cancel this reason)

Method.

The cancel() method of the web.ReadableStreamDefaultReader cancels the stream, signaling a loss of interest in the stream a consumer. The supplied reason argument will be given to the source, which may or may not use it.

Promise<reason> readableStreamDefaultReaderInstance.cancel(reason);

See also: https://developer.mozilla.org/en-US/docs/Web/API/ReadableStreamDefaultReader/cancel

Method.

The cancel() method of the `web.ReadableStreamDefaultReader`
cancels the stream, signaling a loss of interest in the stream
a consumer. The supplied reason argument will be given to the
source, which may or may not use it.

`Promise<reason> readableStreamDefaultReaderInstance.cancel(reason);`

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

closedcljs

(closed this)

Property.

The closed getter property of the web.ReadableStream interface a promise that fulfills if the stream becomes closed or the reader's is released, or rejects if the stream errors.

var closed = readableStreamDefaultReaderInstance.closed;

See also: https://developer.mozilla.org/en-US/docs/Web/API/ReadableStreamDefaultReader/closed

Property.

The closed getter property of the `web.ReadableStream` interface
a promise that fulfills if the stream becomes closed or the reader's
is released, or rejects if the stream errors.

`var closed = readableStreamDefaultReaderInstance.closed;`

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

constructorcljs

Constructor.

The ReadableStreamDefaultReader() constructor creates and returns a ReadableStreamDefaultReader() object instance.

stream The web.ReadableStream to be read.

See also: https://developer.mozilla.org/en-US/docs/Web/API/ReadableStreamDefaultReader/ReadableStreamDefaultReader

Constructor.

The ReadableStreamDefaultReader() constructor creates and returns a ReadableStreamDefaultReader() object instance.

stream
The `web.ReadableStream` to be read.

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

readcljs

(read this)

Method.

The read() method of the web.ReadableStreamDefaultReader interface a promise providing access to the next chunk in the stream's queue.

Promise<result> readableStreamDefaultReaderInstance.read();

See also: https://developer.mozilla.org/en-US/docs/Web/API/ReadableStreamDefaultReader/read

Method.

The read() method of the `web.ReadableStreamDefaultReader` interface
a promise providing access to the next chunk in the stream's
queue.

`Promise<result> readableStreamDefaultReaderInstance.read();`

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

release-lockcljs

(release-lock this)

Method.

The releaseLock() method of the web.ReadableStreamDefaultReader releases the reader's lock on the stream.

readableStreamDefaultReaderInstance.releaseLock();

See also: https://developer.mozilla.org/en-US/docs/Web/API/ReadableStreamDefaultReader/releaseLock

Method.

The releaseLock() method of the `web.ReadableStreamDefaultReader`
releases the reader's lock on the stream.

`readableStreamDefaultReaderInstance.releaseLock();`

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

set-closed!cljs

(set-closed! this val)

Property.

The closed getter property of the web.ReadableStream interface a promise that fulfills if the stream becomes closed or the reader's is released, or rejects if the stream errors.

var closed = readableStreamDefaultReaderInstance.closed;

See also: https://developer.mozilla.org/en-US/docs/Web/API/ReadableStreamDefaultReader/closed

Property.

The closed getter property of the `web.ReadableStream` interface
a promise that fulfills if the stream becomes closed or the reader's
is released, or rejects if the stream errors.

`var closed = readableStreamDefaultReaderInstance.closed;`

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

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

× close