Liking cljdoc? Tell your friends :D

web.fetch.ReadableStreamBYOBReader

The ReadableStreamDefaultReader interface of the Streams API a BYOB ("bring your own buffer") reader that can be used to stream data supplied by the developer (e.g. a custom ReadableStream.ReadableStream()

The ReadableStreamDefaultReader interface of the Streams API
a BYOB (\"bring your own buffer\") reader that can be used to
stream data supplied by the developer (e.g. a custom `ReadableStream.ReadableStream()`
raw docstring

cancelcljs

(cancel this reason)

Method.

The cancel() method of the web.fetch.ReadableStreamBYOBReader 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> readableStreamBYOBReaderInstance.cancel(reason);

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

Method.

The cancel() method of the `web.fetch.ReadableStreamBYOBReader`
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> readableStreamBYOBReaderInstance.cancel(reason);`

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

closedcljs

(closed this)

Property.

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

var closed = readableStreamBYOBReaderInstance.closed;

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

Property.

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

`var closed = readableStreamBYOBReaderInstance.closed;`

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

constructorcljs

Constructor.

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

stream The web.files.ReadableStream to be read.

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

Constructor.

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

stream
The `web.files.ReadableStream` to be read.

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

readcljs

(read this view)

Method.

The read() method of the web.fetch.ReadableStreamBYOBReader returns a promise providing access to the next chunk in the byte internal queue.

Promise<result> readableStreamBYOBReaderInstance.read(view);

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

Method.

The read() method of the `web.fetch.ReadableStreamBYOBReader`
returns a promise providing access to the next chunk in the byte
internal queue.

`Promise<result> readableStreamBYOBReaderInstance.read(view);`

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

release-lockcljs

(release-lock this)

Method.

The releaseLock() method of the web.fetch.ReadableStreamBYOBReader releases the reader's lock on the stream. After the lock is released, reader is no longer active.

readableStreamBYOBReaderInstance.releaseLock();

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

Method.

The releaseLock() method of the `web.fetch.ReadableStreamBYOBReader`
releases the reader's lock on the stream. After the lock is released,
reader is no longer active.

`readableStreamBYOBReaderInstance.releaseLock();`

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

set-closed!cljs

(set-closed! this val)

Property.

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

var closed = readableStreamBYOBReaderInstance.closed;

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

Property.

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

`var closed = readableStreamBYOBReaderInstance.closed;`

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

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

× close