Skip to content

ReadableStream

ReadableStream: {(underlyingSource, strategy?): ReadableStream<Uint8Array<ArrayBufferLike>>; <R>(underlyingSource?, strategy?): ReadableStream<R>; prototype: ReadableStream; }

Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:2231

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.

MDN Reference

new ReadableStream(underlyingSource, strategy?): ReadableStream<Uint8Array<ArrayBufferLike>>

UnderlyingByteSource

QueuingStrategy<Uint8Array<ArrayBufferLike>>

ReadableStream<Uint8Array<ArrayBufferLike>>

new ReadableStream<R>(underlyingSource?, strategy?): ReadableStream<R>

UnderlyingSource<R>

QueuingStrategy<R>

ReadableStream<R>

prototype: ReadableStream