UNPKG

caminho

Version:

Tool for creating efficient data pipelines in a JavaScript environment

12 lines 549 B
import type { Loggers, ValueBag } from '../types'; import { type PendingDataControl } from '../utils/PendingDataControl'; import { type OperatorApplierWithRunId } from './helpers/operatorHelpers'; export type ReduceParams<A> = { name?: string; fn: (acc: A, value: ValueBag, index: number) => A; keep?: string[]; seed: A; provides: string; }; export declare function reduce<T>(reduceParams: ReduceParams<T>, loggers: Loggers, pendingDataControl?: PendingDataControl): OperatorApplierWithRunId; //# sourceMappingURL=reduce.d.ts.map