UNPKG

@naturalcycles/nodejs-lib

Version:
6 lines (5 loc) 278 B
import { TransformOptions, 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?: TransformOptions): TransformTyped<IN, IN[]>;