Preparing search index...
The search index is not available bun-types
Interface ReadableStream<R>
Properties
Readonly
locked
locked: boolean
Methods
cancel
cancel( reason?: any ) : Promise < void >
Returns Promise < void >
cancel( reason?: any ) : Promise < void >
Returns Promise < void >
for Each
for Each( callbackfn: ( ( value: any , key: number , parent: ReadableStream < R > ) => void ) , thisArg?: any ) : void
Parameters
callbackfn: ( ( value: any , key: number , parent: ReadableStream < R > ) => void )
( value: any , key: number , parent: ReadableStream < R > ) : void
Returns void
Optional
thisArg: any
Returns void
for Each( callbackfn: ( ( value: any , key: number , parent: ReadableStream < R > ) => void ) , thisArg?: any ) : void
Parameters
callbackfn: ( ( value: any , key: number , parent: ReadableStream < R > ) => void )
( value: any , key: number , parent: ReadableStream < R > ) : void
Returns void
Optional
thisArg: any
Returns void
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.