Works with
•JSR Score70%•It is unknown whether this package works with Node.js, Deno, Browsers, Cloudflare Workers, Bun




Published2 years ago (0.215.0)
Functions
f
toReadableStream(): ReadableStream<Uint8Array>
reader: Reader | (Reader & Closer),
unnamed 1?: ToReadableStreamOptions
Create a ReadableStream of Uint8Arrays from a
Reader.
Interfaces
I
Options for toReadableStream.
- autoClose: boolean
If the
readeris also aCloser, automatically close thereaderwhenEOFis encountered, or a read error occurs. - chunkSize: number
The size of chunks to allocate to read, the default is ~16KiB, which is the maximum size that Deno operations can currently support.
- strategy: QueuingStrategy<Uint8Array>
The queuing strategy to create the
ReadableStreamwith.