Liking cljdoc? Tell your friends :D

web.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 web.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 `web.ReadableStream.ReadableStream()`
raw docstring

cancelcljs

(cancel this reason)

Method.

The cancel() method of the web.ReadableStreamBYOBReader interface the stream, signaling a loss of interest in the stream by a consumer. supplied reason argument will be given to the underlying source, 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.ReadableStreamBYOBReader` interface
the stream, signaling a loss of interest in the stream by a consumer.
supplied reason argument will be given to the underlying source,
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.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.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.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.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.ReadableStreamBYOBReader interface a promise providing access to the next chunk in the byte stream's 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.ReadableStreamBYOBReader` interface
a promise providing access to the next chunk in the byte stream's
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.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.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.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.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