UNPKG

sf-package-combiner

Version:

Merge multiple Salesforce package.xml manifests into a single file for Salesforce CLI deployments.

10 lines (9 loc) 406 B
/** * Process an array concurrently with a maximum concurrency limit. * Drop-in replacement for the `async` package's `mapLimit`. * * @param items - Items to process * @param limit - Max number of concurrent tasks * @param iteratee - Async function to run for each item */ export declare function mapLimit<T>(items: T[], limit: number, iteratee: (item: T) => Promise<void>): Promise<void>;