ReadonlylockedThe locked read-only property of the ReadableStream interface returns whether or not the readable stream is locked to a reader.
The cancel() method of the ReadableStream interface returns a Promise that resolves when the stream is canceled.
Optionalreason: anyThe getReader() method of the ReadableStream interface creates a reader and locks the stream to it.
Optionaloptions: ReadableStreamGetReaderOptionsGet the last observed tail position, if known.
Get the next read position, if known.
The pipeThrough() method of the ReadableStream interface provides a chainable way of piping the current stream through a transform stream or any other writable/readable pair.
Optionaloptions: StreamPipeOptionsThe pipeTo() method of the ReadableStream interface pipes the current ReadableStream to a given WritableStream and returns a Promise that fulfills when the piping process completes successfully, or rejects if any errors were encountered.
Optionaloptions: StreamPipeOptionsThe tee() method of the two-element array containing the two resulting branches as new ReadableStream instances.
Public-facing read session interface.
Yields records directly (as an async iterable or
ReadableStream) and translates transport errors into thrown exceptions. Track progress using ReadSession.nextReadPosition / ReadSession.lastObservedTail.Example