@krzysztofsztompka/garch
    Preparing search index...

    Class GarchWebPool

    Up to size Web Workers (default: every logical core but one), started on demand and reused. createWorker replaces how one is started — for a bundler that needs the worker URL its own way, or a test.

    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[]>