UNPKG

s3-batch-upload

Version:

Super fast batched S3 folder uploads from CLI or API.

8 lines (7 loc) 277 B
export declare type Options<T> = { concurrency: number; files: Array<string>; processItem: (file: string) => Promise<T>; onProgress: () => void; }; export default function streamBatch<T>({concurrency, files, processItem, onProgress}: Options<T>): Promise<T[]>;