@drupflare/workforce - v0.3.0
    Preparing search index...

    Function mapFleet

    • Runs fn over items with bounded concurrency.

      Order of results follows the input rather than completion, because a caller reading a report wants it to line up with what they asked for.

      Type Parameters

      • T
      • R

      Parameters

      • items: readonly T[]
      • fn: (item: T, index: number) => Promise<R>
      • options: MapOptions = {}

      Returns Promise<MapResult<T, R>>