UNPKG

@naturalcycles/nodejs-lib

Version:
7 lines (6 loc) 250 B
import { ReadableTyped } from '../stream.model'; /** * Convenience function to read the whole Readable stream into Array (in-memory) * and return that array. */ export declare function readableToArray<T>(readable: ReadableTyped<T>): Promise<T[]>;