UNPKG

caminho

Version:

Tool for creating efficient data pipelines in a JavaScript environment

6 lines 623 B
import type { PendingDataControl } from '../utils/PendingDataControl'; import type { Loggers, ValueBag } from '../types'; import type { FromGeneratorParams } from '../from'; export declare function wrapGenerator(generatorParams: FromGeneratorParams, loggers: Loggers): (initialBag: ValueBag) => AsyncGenerator<any, void, unknown>; export declare function wrapGeneratorWithBackPressure(generatorParams: FromGeneratorParams, maxItemsFlowing: number, pendingDataControl: PendingDataControl, loggers: Loggers): (initialBag: ValueBag, runId: string) => AsyncGenerator<any, void, unknown>; //# sourceMappingURL=generator.d.ts.map