Interface ReadableStream<R>
Properties
Readonly
locked
locked: boolean
Methods
[asyncIterator]
- [asyncIterator](): AsyncIterableIterator<R>
-
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;
}): AsyncIterableIterator<R>
-
Parameters
-
Optional
options: {
preventCancel?: boolean;
}
-
Optional
preventCancel?: boolean
This Streams API interface represents a readable stream of byte data.