UNPKG

hole

Version:

Async friendly, stream-based task consuming utility in Node.js

8 lines (7 loc) 349 B
import ParallelTransform from 'parallel-transform-stream'; import { Processor, ProcessorOption } from './types'; export declare class HoleTransform extends ParallelTransform { constructor(asyncFn: Processor<any, any>, options?: ProcessorOption); _parallelTransform(data: any, enc: any, callback: any): void; emit(...args: any[]): any; }