Interface ReadableStream<R>
Properties
Readonly
locked
locked: boolean
Methods
cancel
- cancel(reason?: any): Promise<void>
Returns Promise<void>
pipeTo
- pipeTo(
destination: WritableStream<R>,
options?: StreamPipeOptions,
): Promise<void> Returns Promise<void>
values
- values(options?: { preventCancel?: boolean }): ReadableStreamAsyncIterator<R>
Parameters
Optional
options: { preventCancel?: boolean }
This Streams API interface represents a readable stream of byte data.