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()`
(cancel this reason)
Method.
[Draft] [Experimental]
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. [Draft] [Experimental] 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`
(closed this)
Property.
[Draft] [Experimental]
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. [Draft] [Experimental] 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`
(read this view)
Method.
[Draft] [Experimental]
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. [Draft] [Experimental] 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`
(release-lock this)
Method.
[Draft] [Experimental]
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. [Draft] [Experimental] 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`
(set-closed! this val)
Property.
[Draft] [Experimental]
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. [Draft] [Experimental] 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`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close