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

Function asyncPool

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

    • Item

    Parameters

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

    Returns Promise<void>

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

Settings

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

Generated using TypeDoc