@krzysztofsztompka/garch
    Preparing search index...

    Class GarchPool

    Up to size worker threads (default: every core but one), started on demand and reused. An idle worker does not keep the process alive.

    Hierarchy (View Summary)

    Index
    size: number
    • Runs the tasks of one call under one deadline; resolves, in the order given, when all have answered. The heaviest weight is dispatched first, so the longest task does not start last.

      Type Parameters

      • T

      Parameters

      • tasks: readonly PoolTask[]
      • OptionaltimeoutMs: number

      Returns Promise<T[]>