fromStream
fromStream: (
stream) =>AsyncIterable<any,any,any>
Defined in: utils/iterables/from-stream.js:28
Returns a Node.js Readable stream as an async iterable. All Readable streams support Symbol.asyncIterator since Node.js 12.
Parameters
Section titled “Parameters”stream
Section titled “stream”any
Readable stream to iterate
Returns
Section titled “Returns”AsyncIterable<any, any, any>
- The stream itself, which natively supports async iteration