Default reader for a ReadableStream.
ReadableStream
See also:
https://nodejs.org/api/globals.html#class-readablestreamdefaultreader
https://nodejs.org/api/webstreams.html#class-readablestreamdefaultreader
new(stream:ReadableStream)
read onlyclosed:Promise<Void>
A promise that fulfills when the stream closes, or rejects on error.
cancel(?reason:Any):Promise<Void>
Cancels the stream.
read():Promise<ReadableStreamReadResult>
Returns a promise for the next chunk.
releaseLock():Void
Releases the lock on the stream.