More tests
This commit is contained in:
@@ -8,6 +8,7 @@ import {
|
||||
WithEncoding,
|
||||
JsonParseOptions,
|
||||
FlushStrategy,
|
||||
AccumulatorByIteratee,
|
||||
} from "./definitions";
|
||||
|
||||
/**
|
||||
@@ -260,3 +261,11 @@ export function accumulator(
|
||||
keyBy,
|
||||
);
|
||||
}
|
||||
|
||||
export function accumulatorBy<T, S extends FlushStrategy>(
|
||||
batchRate: number | undefined,
|
||||
flushStrategy: S,
|
||||
iteratee: AccumulatorByIteratee<T>,
|
||||
) {
|
||||
return baseFunctions.accumulatorBy(batchRate, flushStrategy, iteratee);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user