UNPKG

@naturalcycles/nodejs-lib

Version:
6 lines (5 loc) 270 B
import { TransformOpt, TransformTyped } from '../stream.model'; /** * Will collect all stream results in the array (keeping it in memory) and emit in the end as one result. */ export declare function transformToArray<IN>(opt?: TransformOpt): TransformTyped<IN, IN[]>;