xaa
    Preparing search index...

    Function map

    • async map array with concurrency

      • intended to be similar to bluebird.map

      Type Parameters

      • T
      • O

      Parameters

      • array: readonly T[]

        array to map, if any item is promise-like, it will be resolved first.

      • Optionalfunc: MapFunction<T, O>

        callback to map values from the array

      • options: MapOptions = ...

        MapOptions

      Returns Promise<O[]>

      promise with mapped result