interface ReadableStream
This Streams API interface represents a readable stream of byte data.
Type Parameters Jump to heading
Jump to headingR = any
Properties Jump to heading
readonly
Jump to headinglocked: boolean
Methods Jump to heading
Jump to headingcancel(reason?: any): Promise<void>
Jump to headinggetReader(options: { mode: "byob"; }): ReadableStreamBYOBReader
Jump 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?: { preventCancel?: boolean; }): AsyncIterableIterator<R>
Jump to heading[[Symbol.asyncIterator]](): AsyncIterableIterator<R>
Type Parameters Jump to heading
Jump to headingR = any