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

    Type Parameters

    • T

    Parameters

    • array: T[]

      Array to execute the callback on

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

      The callback to execute for each item

        • (item, index, array): Promise<any>
        • Parameters

          • item: T
          • index: number
          • array: T[]

          Returns Promise<any>

    Returns Promise<T[]>