UNPKG

351 BTypeScriptView Raw
1/// <reference types="node" />
2import { Transform } from 'stream';
3/**
4 * Push an array of items into a Transform stream.
5 * @param array The array you want to push to the stream.
6 * @param stream The Transform stream into which array items are pushed.
7 */
8export declare function split(array: Array<{}>, stream: Transform): Promise<boolean>;