A TextStreamReader instance can be used as an AsyncIterator that returns the entire string that has been received up to the current point in time.
Optional
totalChunkCount: numberOptional
outOfBandFailureRejectingFuture: Future<never>Optional
onprogress of the stream between 0 and 1. Undefined for streams of unknown size
Optional
signalAsync iterator implementation to allow usage of for await...of
syntax.
Yields structured chunks from the stream.
Injects an AbortSignal, which if aborted, will terminate the currently active stream iteration operation.
Note that when using AbortSignal.timeout(...), the timeout applies across the whole iteration operation, not just one individual chunk read.
A class to read chunks from a ReadableStream and provide them in a structured format.