Interface ReadableStream<R> Defined in node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:18487 Defined in node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:18504 Properties Readonly
locked locked : boolean
Defined in node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:18489 Methods cancel cancel ( reason ? ) : Promise < void > Returns Promise < void > Defined in node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:18491 get Reader get Reader ( options ) : ReadableStreamBYOBReader Parameters options : { mode : "byob" ; } Defined in node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:18493 get Reader ( ) : ReadableStreamDefaultReader < R > Defined in node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:18494 get Reader ( options ? ) : ReadableStreamReader < R > Defined in node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:18495 pipe Through pipe Through < T > ( transform , options ? ) : ReadableStream < T > Defined in node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:18497 pipe To pipe To ( destination , options ? ) : Promise < void > Returns Promise < void > Defined in node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.dom.d.ts:18499
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