• Run concurrent promises with a maximum concurrency level

    Type Parameters

    • V

    Parameters

    • concurrency: number

      The number of concurrently running promises

    • funcs: (() => Promise<V>)[]

      An array of functions that return promises

    Returns Promise<V[]>

    A promise that resolves to an array of the resolved values from the promises returned by funcs