Function asyncForEach

  • Runs the supplied itterator for all elements in the array asyncronously.

    Type Parameters

    • T


    • array: T[]

      The array to itterate through.

    • itterator: ((value: T, index: number, array: T[]) => Promise<void>)

      The async function to run for each element.

        • (value: T, index: number, array: T[]): Promise<void>
        • Parameters

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

          Returns Promise<void>

    Returns Promise<void>

Generated using TypeDoc