• Execute the map callback async in sequence on each of the items in the specified Iterable

    Type Parameters

    • T

    • R

    Parameters

    • array: Iterable<T>

      An Iterable to execute the callback on

    • callback: ((item, index) => Promise<R>)

      The callback to execute for each item

        • (item, index): Promise<R>
        • Parameters

          • item: T
          • index: number

          Returns Promise<R>

    Returns Promise<R[]>