getReader

The getReader() method of the ReadableStream interface creates a reader and locks the stream to it.

MDN Reference