Turns a ReadableStream in to an AsyncIterable.
ReadableStream
AsyncIterable
Optional
for await (const chunk of toIterable(stream)) {} Copy
for await (const chunk of toIterable(stream)) {}
Generated using TypeDoc
Turns a
ReadableStream
in to anAsyncIterable
.