ReadableStreamDefaultReader
open class ReadableStreamDefaultReader<R : JsAny?>(stream: ReadableStream<R>) : ReadableStreamGenericReader(source)
The ReadableStreamDefaultReader interface of the Streams API represents a default reader that can be used to read stream data supplied from a network (such as a fetch request).
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The read() method of the ReadableStreamDefaultReader interface returns a Promise providing access to the next chunk in the stream's internal queue.
Link copied to clipboard
The read() method of the ReadableStreamDefaultReader interface returns a Promise providing access to the next chunk in the stream's internal queue.
Link copied to clipboard
The releaseLock() method of the ReadableStreamDefaultReader interface releases the reader's lock on the stream.