interface ReadableStream
This Streams API interface represents a readable stream of byte data. The Fetch API offers a concrete instance of a ReadableStream through the body property of a Response object.
Type Parameters Jump to heading
Jump to headingR = anyProperties Jump to heading
readonly
Jump to headinglocked: booleanMethods Jump to heading
Jump to headingcancel(reason?: any): Promise<void>Jump to headinggetReader(options: { mode: "byob"; }): ReadableStreamBYOBReaderJump to headingpipeThrough<T>(transform: ReadableWritablePair<T, R>,options?: StreamPipeOptions,): ReadableStream<T>Jump to headingpipeTo(destination: WritableStream<R>,options?: StreamPipeOptions,): Promise<void>Jump to headingtee(): [ReadableStream<R>, ReadableStream<R>]Jump to headingvalues(options?: ReadableStreamIteratorOptions): AsyncIterableIterator<R>Jump to heading[[Symbol.asyncIterator]](options?: ReadableStreamIteratorOptions): AsyncIterableIterator<R>