/** * pLimit creates a "limiter" function that can be used to enqueue * promise returning functions with limited concurrency. * @param {number} concurrency */ export function pLimit(concurrency: number): (fn: (...args: Arguments) => RType | PromiseLike, ...args: Arguments) => Promise;