@rudderstack/workflow-engine
Version:
A generic workflow execution engine
14 lines • 466 B
TypeScript
import { BatchResult } from '../types';
export declare class BatchUtils {
static chunkArrayBySizeAndLength(array: any[], options?: {
maxSizeInBytes?: number;
maxItems?: number;
}): {
items: any[][];
indices: number[][];
};
static validateBatchResults(input: any[], batchResults: BatchResult[]): void;
private static isSizeLimitReached;
private static isLengthLimitReached;
}
//# sourceMappingURL=batch.d.ts.map