getReader method

The getReader() method of the ReadableStream interface creates a reader and locks the stream to it. While the stream is locked, no other reader can be acquired until this one is released.

Implementation

external ReadableStreamReader getReader(
    [ReadableStreamGetReaderOptions options]);