read method

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

Implementation

external JSPromise<ReadableStreamReadResult> read();