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