Consume all data from a ReadableStream until it closes or errors.
A promise that resolves with the chunks as an array
The stream to consume
Generated using TypeDoc
Consume all data from a ReadableStream until it closes or errors.
Returns
A promise that resolves with the chunks as an array