• It keeps a concurrent fixed size buffer of pending promises. When some of them finish, it takes another one from the provided iterator

    Type Parameters

    • T

    Parameters

    • it: Iterator<Promise<unknown>, T, undefined>
    • concurrency: number = 20

      The max number of concurrent pending promises

    Returns Promise<T>

Generated using TypeDoc