• Preparing search index...
  • The search index is not available
Documentation - v0.0.15
  • Documentation
  • @fuman/utils
  • parallelMap

Function parallelMap

  • parallelMap<Item, Result>(
        iterable: Iterable<Item, any, any> | AsyncIterable<Item, any, any>,
        executor: (item: Item, index: number) => MaybePromise<Result>,
        options?: AsyncPoolOptions<Item>,
    ): Promise<Result[]>
  • Type Parameters

    • Item
    • Result

    Parameters

    • iterable: Iterable<Item, any, any> | AsyncIterable<Item, any, any>
    • executor: (item: Item, index: number) => MaybePromise<Result>
    • options: AsyncPoolOptions<Item> = {}

    Returns Promise<Result[]>

    • Defined in packages/utils/src/async/pool.ts:109

Settings

Member Visibility
Documentation - v0.0.15
  • Loading...

Generated using TypeDoc