From: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 9 Jun 2023 19:54:12 +0000 (+0000) Subject: chore: generate documentation X-Git-Tag: v2.6.0~1 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=5e5a659e2b415c7d533dad095eda082989983f8e;p=poolifier.git chore: generate documentation --- diff --git a/docs/classes/AbstractPool.html b/docs/classes/AbstractPool.html index 01b34541..002878a8 100644 --- a/docs/classes/AbstractPool.html +++ b/docs/classes/AbstractPool.html @@ -49,7 +49,7 @@ +
  • Defined in src/pools/abstract-pool.ts:45
  • @@ -164,7 +164,7 @@

    Returns AbstractPool<Worker, Data, Response>

    +
  • Defined in src/pools/abstract-pool.ts:85
  • Properties

    @@ -182,7 +182,7 @@
    +
  • Defined in src/pools/abstract-pool.ts:54
  • filePath: string
    @@ -190,7 +190,7 @@
    +
  • Defined in src/pools/abstract-pool.ts:87
  • numberOfWorkers: number
    @@ -198,7 +198,7 @@
    +
  • Defined in src/pools/abstract-pool.ts:86
  • opts: PoolOptions<Worker>
    @@ -206,7 +206,7 @@
    +
  • Defined in src/pools/abstract-pool.ts:88
  • promiseResponseMap: Map<string, PromiseResponseWrapper<Worker, Response>> = ...
    @@ -219,16 +219,15 @@
    +
  • Defined in src/pools/abstract-pool.ts:64
  • workerChoiceStrategyContext: WorkerChoiceStrategyContext<Worker, Data, Response>

    Worker choice strategy context referencing a worker choice algorithm implementation.

    -

    Default to a round robin algorithm.

    +
  • Defined in src/pools/abstract-pool.ts:72
  • workerNodes: WorkerNode<Worker, Data>[] = []
    @@ -237,7 +236,7 @@
    +
  • Defined in src/pools/abstract-pool.ts:51
  • Accessors

    @@ -251,7 +250,7 @@

    Returns boolean

    +
  • Defined in src/pools/abstract-pool.ts:380
  • +
  • Defined in src/pools/abstract-pool.ts:371
  • +
  • Defined in src/pools/abstract-pool.ts:220
  • +
  • Defined in src/pools/abstract-pool.ts:288
  • +
  • Defined in src/pools/abstract-pool.ts:283
  • +
  • Defined in src/pools/abstract-pool.ts:273
  • +
  • Defined in src/pools/abstract-pool.ts:278
  • Methods

    @@ -347,7 +346,7 @@ Can be overridden.

    Returns void

    +
  • Defined in src/pools/abstract-pool.ts:481
  • +
  • Defined in src/pools/abstract-pool.ts:663
  • +
  • Defined in src/pools/abstract-pool.ts:465
  • Returns TasksQueueOptions

    +
  • Defined in src/pools/abstract-pool.ts:358
  • +
  • Defined in src/pools/abstract-pool.ts:736
  • Returns void

    +
  • Defined in src/pools/abstract-pool.ts:122
  • Returns void

    +
  • Defined in src/pools/abstract-pool.ts:131
  • Returns void

    +
  • Defined in src/pools/abstract-pool.ts:149
  • Returns void

    +
  • Defined in src/pools/abstract-pool.ts:204
  • Returns void

    +
  • Defined in src/pools/abstract-pool.ts:176
  • Returns void

    +
  • Defined in src/pools/abstract-pool.ts:186
  • +
  • Defined in src/pools/abstract-pool.ts:605
  • +
  • Defined in src/pools/abstract-pool.ts:670
  • +
  • Defined in src/pools/abstract-pool.ts:654
  • Returns undefined | Task<Data>

    +
  • Defined in src/pools/abstract-pool.ts:817
  • +
  • Defined in src/pools/abstract-pool.ts:426
  • +
  • Defined in src/pools/abstract-pool.ts:441
  • +
  • Defined in src/pools/abstract-pool.ts:336
  • Returns number

    +
  • Defined in src/pools/abstract-pool.ts:813
  • +
  • Defined in src/pools/abstract-pool.ts:391
  • Returns void

    +
  • Defined in src/pools/abstract-pool.ts:808
  • Returns void

    +
  • Defined in src/pools/abstract-pool.ts:825
  • +
  • Defined in src/pools/abstract-pool.ts:836
  • Returns TaskStatistics

    +
  • Defined in src/pools/abstract-pool.ts:887
  • +
  • Defined in src/pools/abstract-pool.ts:296
  • Returns WorkerUsage

    +
  • Defined in src/pools/abstract-pool.ts:854
  • +
  • Defined in src/pools/abstract-pool.ts:382
  • +
  • Defined in src/pools/abstract-pool.ts:456
  • +
  • Defined in src/pools/abstract-pool.ts:766
  • +
  • Defined in src/pools/abstract-pool.ts:647
  • +
  • Defined in src/pools/abstract-pool.ts:800
  • +
  • Defined in src/pools/abstract-pool.ts:636
  • +
  • Defined in src/pools/abstract-pool.ts:348
  • +
  • Defined in src/pools/abstract-pool.ts:303
  • +
  • Defined in src/pools/abstract-pool.ts:325
  • +
  • Defined in src/pools/abstract-pool.ts:753
  • Returns void

    +
  • Defined in src/pools/abstract-pool.ts:842
  • +
  • Defined in src/pools/abstract-pool.ts:449
  • Returns number

    +
  • Defined in src/pools/abstract-pool.ts:821
  • Returns void

    +
  • Defined in src/pools/abstract-pool.ts:555
  • Returns void

    +
  • Defined in src/pools/abstract-pool.ts:497
  • Returns void

    +
  • Defined in src/pools/abstract-pool.ts:525
  • +
  • Defined in src/pools/abstract-pool.ts:705
  • +
  • Defined in src/worker/abstract-worker.ts:66
  • lastTaskTimestamp: number
    @@ -164,7 +164,7 @@
    +
  • Defined in src/worker/abstract-worker.ts:46
  • mainWorker: undefined | null | MainWorker
    @@ -172,7 +172,7 @@
    +
  • Defined in src/worker/abstract-worker.ts:70
  • opts: WorkerOptions = ...
    @@ -180,7 +180,7 @@
    +
  • Defined in src/worker/abstract-worker.ts:71
  • statistics: WorkerStatistics
    @@ -188,7 +188,7 @@
    +
  • Defined in src/worker/abstract-worker.ts:50
  • taskFunctions: Map<string, WorkerFunction<Data, Response>>
    @@ -196,7 +196,7 @@
    +
  • Defined in src/worker/abstract-worker.ts:42
  • Methods

    @@ -217,7 +217,7 @@
  • Returns TaskPerformance

  • +
  • Defined in src/worker/abstract-worker.ts:300
  • +
  • Defined in src/worker/abstract-worker.ts:197
  • +
  • Defined in src/worker/abstract-worker.ts:109
  • Returns void

    +
  • Defined in src/worker/abstract-worker.ts:97
  • Returns TaskPerformance

    +
  • Defined in src/worker/abstract-worker.ts:307
  • +
  • Defined in src/worker/abstract-worker.ts:178
  • +
  • Defined in src/worker/abstract-worker.ts:291
  • +
  • Defined in src/worker/abstract-worker.ts:212
  • +
  • Defined in src/worker/abstract-worker.ts:149
  • +
  • Defined in src/worker/abstract-worker.ts:255
  • +
  • Defined in src/worker/abstract-worker.ts:222
  • +
  • Defined in src/worker/abstract-worker.ts:190
  • +
  • Defined in src/circular-array.ts:8
  • @@ -113,7 +113,7 @@

    Returns CircularArray<T>

    +
  • Defined in src/circular-array.ts:11
  • Properties

    @@ -153,7 +153,7 @@ when they will be absent when used in a 'with' statement.

    size: number
    +
  • Defined in src/circular-array.ts:9
  • [species]: ArrayConstructor
    +
  • Defined in src/circular-array.ts:88
  • +
  • Defined in src/circular-array.ts:39
  • +
  • Defined in src/circular-array.ts:80
  • +
  • Defined in src/circular-array.ts:84
  • +
  • Defined in src/circular-array.ts:21
  • Returns void

    +
  • Defined in src/circular-array.ts:68
  • +
  • Defined in src/circular-array.ts:54
  • +
  • Defined in src/circular-array.ts:30
  • +
  • Defined in src/worker/cluster-worker.ts:21
  • @@ -116,7 +116,7 @@ but the minimum number of workers will be guaranteed.

    +
  • Defined in src/worker/cluster-worker.ts:31
  • Properties

    @@ -127,7 +127,7 @@ but the minimum number of workers will be guaranteed.

    +
  • Defined in src/worker/abstract-worker.ts:54
  • isMain: boolean
    @@ -136,7 +136,7 @@ but the minimum number of workers will be guaranteed.

    +
  • Defined in src/worker/abstract-worker.ts:66
  • lastTaskTimestamp: number
    @@ -145,7 +145,7 @@ but the minimum number of workers will be guaranteed.

    +
  • Defined in src/worker/abstract-worker.ts:46
  • mainWorker: undefined | null | Worker
    @@ -154,7 +154,7 @@ but the minimum number of workers will be guaranteed.

    +
  • Defined in src/worker/abstract-worker.ts:70
  • opts: WorkerOptions = ...
    @@ -163,7 +163,7 @@ but the minimum number of workers will be guaranteed.

    +
  • Defined in src/worker/abstract-worker.ts:71
  • statistics: WorkerStatistics
    @@ -172,7 +172,7 @@ but the minimum number of workers will be guaranteed.

    +
  • Defined in src/worker/abstract-worker.ts:50
  • taskFunctions: Map<string, WorkerFunction<Data, Response>>
    @@ -181,7 +181,7 @@ but the minimum number of workers will be guaranteed.

    +
  • Defined in src/worker/abstract-worker.ts:42
  • Methods

    @@ -233,7 +233,7 @@ but the minimum number of workers will be guaranteed.

    +
  • Defined in src/worker/abstract-worker.ts:197
  • +
  • Defined in src/worker/abstract-worker.ts:178
  • +
  • Defined in src/worker/cluster-worker.ts:52
  • +
  • Defined in src/worker/abstract-worker.ts:149
  • +
  • Defined in src/worker/abstract-worker.ts:255
  • +
  • Defined in src/worker/abstract-worker.ts:222
  • +
  • Defined in src/worker/cluster-worker.ts:47
  • +
  • Defined in src/pools/cluster/dynamic.ts:15
  • @@ -141,7 +141,7 @@ When the maximum number of workers is reached and workers are busy, an event is
    +
  • Defined in src/pools/cluster/dynamic.ts:27
  • Properties

    @@ -159,7 +159,7 @@ When the maximum number of workers is reached and workers are busy, an event is
    +
  • Defined in src/pools/abstract-pool.ts:54
  • filePath: string
    @@ -168,7 +168,7 @@ When the maximum number of workers is reached and workers are busy, an event is
    +
  • Defined in src/pools/abstract-pool.ts:87
  • max: number
    @@ -176,7 +176,7 @@ When the maximum number of workers is reached and workers are busy, an event is
    +
  • Defined in src/pools/cluster/dynamic.ts:29
  • numberOfWorkers: number
    @@ -185,7 +185,7 @@ When the maximum number of workers is reached and workers are busy, an event is
    +
  • Defined in src/pools/abstract-pool.ts:86
  • opts: ClusterPoolOptions = {}
    @@ -194,7 +194,7 @@ When the maximum number of workers is reached and workers are busy, an event is
    +
  • Defined in src/pools/cluster/fixed.ts:54
  • promiseResponseMap: Map<string, PromiseResponseWrapper<Worker, Response>> = ...
    @@ -208,17 +208,16 @@ When the maximum number of workers is reached and workers are busy, an event is
    +
  • Defined in src/pools/abstract-pool.ts:64
  • workerChoiceStrategyContext: WorkerChoiceStrategyContext<Worker, Data, Response>

    Worker choice strategy context referencing a worker choice algorithm implementation.

    -

    Default to a round robin algorithm.

    +
  • Defined in src/pools/abstract-pool.ts:72
  • workerNodes: WorkerNode<Worker, Data>[] = []
    @@ -227,7 +226,7 @@ When the maximum number of workers is reached and workers are busy, an event is
    +
  • Defined in src/pools/abstract-pool.ts:51
  • Accessors

    @@ -242,7 +241,7 @@ When the maximum number of workers is reached and workers are busy, an event is
    +
  • Defined in src/pools/cluster/dynamic.ts:47
  • +
  • Defined in src/pools/abstract-pool.ts:371
  • +
  • Defined in src/pools/abstract-pool.ts:220
  • +
  • Defined in src/pools/cluster/dynamic.ts:42
  • +
  • Defined in src/pools/cluster/fixed.ts:110
  • +
  • Defined in src/pools/cluster/dynamic.ts:37
  • +
  • Defined in src/pools/cluster/fixed.ts:105
  • Methods

    @@ -344,7 +343,7 @@ Can be overridden.

    +
  • Defined in src/pools/abstract-pool.ts:481
  • +
  • Defined in src/pools/cluster/fixed.ts:94
  • +
  • Defined in src/pools/abstract-pool.ts:465
  • +
  • Defined in src/pools/abstract-pool.ts:605
  • +
  • Defined in src/pools/abstract-pool.ts:670
  • +
  • Defined in src/pools/cluster/fixed.ts:89
  • +
  • Defined in src/pools/abstract-pool.ts:426
  • +
  • Defined in src/pools/cluster/fixed.ts:70
  • +
  • Defined in src/pools/abstract-pool.ts:336
  • +
  • Defined in src/pools/abstract-pool.ts:391
  • +
  • Defined in src/pools/abstract-pool.ts:382
  • +
  • Defined in src/pools/cluster/fixed.ts:65
  • +
  • Defined in src/pools/cluster/fixed.ts:81
  • +
  • Defined in src/pools/cluster/fixed.ts:76
  • +
  • Defined in src/pools/abstract-pool.ts:348
  • +
  • Defined in src/pools/abstract-pool.ts:303
  • +
  • Defined in src/pools/abstract-pool.ts:325
  • +
  • Defined in src/pools/cluster/fixed.ts:60
  • +
  • Defined in src/pools/abstract-pool.ts:705
  • +
  • Defined in src/pools/abstract-pool.ts:705
  • +
  • Defined in src/pools/selection-strategies/worker-choice-strategy-context.ts:153
  • +
  • Defined in src/pools/selection-strategies/worker-choice-strategy-context.ts:112
  • +
  • Defined in src/pools/selection-strategies/worker-choice-strategy-context.ts:171
  • +
  • Defined in src/pools/selection-strategies/worker-choice-strategy-context.ts:184
  • +
  • Defined in src/pools/selection-strategies/worker-choice-strategy-context.ts:125
  • +
  • Defined in src/pools/selection-strategies/worker-choice-strategy-context.ts:139
  • +
  • Defined in src/pools/pool.ts:144
  • env?: Record<string, unknown>
    @@ -80,7 +80,7 @@

    See

    https://nodejs.org/api/cluster.html#cluster_cluster_fork_env

    +
  • Defined in src/pools/cluster/fixed.ts:21
  • errorHandler?: ErrorHandler<Worker>
    @@ -89,7 +89,7 @@
    +
  • Defined in src/pools/pool.ts:110
  • exitHandler?: ExitHandler<Worker>
    @@ -98,7 +98,7 @@
    +
  • Defined in src/pools/pool.ts:118
  • messageHandler?: MessageHandler<Worker>
    @@ -107,7 +107,7 @@
    +
  • Defined in src/pools/pool.ts:106
  • onlineHandler?: OnlineHandler<Worker>
    @@ -116,7 +116,7 @@
    +
  • Defined in src/pools/pool.ts:114
  • restartWorkerOnError?: boolean
    @@ -125,7 +125,7 @@
    +
  • Defined in src/pools/pool.ts:132
  • settings?: ClusterSettings
    @@ -135,7 +135,7 @@

    See

    https://nodejs.org/api/cluster.html#cluster_cluster_settings

    +
  • Defined in src/pools/cluster/fixed.ts:27
  • tasksQueueOptions?: TasksQueueOptions
    @@ -144,7 +144,7 @@
    +
  • Defined in src/pools/pool.ts:148
  • workerChoiceStrategy?: "ROUND_ROBIN" | "LEAST_USED" | "LEAST_BUSY" | "LEAST_ELU" | "FAIR_SHARE" | "WEIGHTED_ROUND_ROBIN" | "INTERLEAVED_WEIGHTED_ROUND_ROBIN"
    @@ -155,7 +155,7 @@
    +
  • Defined in src/pools/pool.ts:124
  • workerChoiceStrategyOptions?: WorkerChoiceStrategyOptions
    @@ -164,7 +164,7 @@
    +
  • Defined in src/pools/pool.ts:128
  • +
  • Defined in src/pools/pool.ts:181
  • enableTasksQueue: ((enable, tasksQueueOptions?) => void)
    @@ -125,7 +125,7 @@

    Returns void

    +
  • Defined in src/pools/pool.ts:218
  • execute: ((data?, name?) => Promise<Response>)
    @@ -155,7 +155,7 @@
    +
  • Defined in src/pools/pool.ts:189
  • info: PoolInfo
    @@ -163,7 +163,7 @@
    +
  • Defined in src/pools/pool.ts:166
  • setTasksQueueOptions: ((tasksQueueOptions) => void)
    @@ -187,7 +187,7 @@

    Returns void

    +
  • Defined in src/pools/pool.ts:227
  • setWorkerChoiceStrategy: ((workerChoiceStrategy, workerChoiceStrategyOptions?) => void)
    @@ -216,7 +216,7 @@

    Returns void

    +
  • Defined in src/pools/pool.ts:200
  • setWorkerChoiceStrategyOptions: ((workerChoiceStrategyOptions) => void)
    @@ -240,7 +240,7 @@

    Returns void

    +
  • Defined in src/pools/pool.ts:209
  • workerNodes: WorkerNode<Worker, Data>[]
    @@ -248,7 +248,7 @@
    +
  • Defined in src/pools/pool.ts:170
  • +
  • Defined in src/pools/worker.ts:161
  • +
  • Defined in src/pools/selection-strategies/selection-strategies-types.ts:175
  • reset: (() => boolean)
    @@ -99,7 +99,7 @@
    +
  • Defined in src/pools/selection-strategies/selection-strategies-types.ts:156
  • setOptions: ((opts) => void)
    @@ -123,7 +123,7 @@

    Returns void

    +
  • Defined in src/pools/selection-strategies/selection-strategies-types.ts:181
  • taskStatisticsRequirements: TaskStatisticsRequirements
    @@ -131,7 +131,7 @@
    +
  • Defined in src/pools/selection-strategies/selection-strategies-types.ts:150
  • update: ((workerNodeKey) => boolean)
    @@ -153,7 +153,7 @@
    +
  • Defined in src/pools/selection-strategies/selection-strategies-types.ts:162
  • +
  • Defined in src/pools/selection-strategies/selection-strategies-types.ts:65
  • +
  • Defined in src/pools/worker.ts:71
  • history: CircularArray<number>
    @@ -62,7 +62,7 @@
    +
  • Defined in src/pools/worker.ts:79
  • median: number
    @@ -70,7 +70,7 @@
    +
  • Defined in src/pools/worker.ts:75
  • +
  • Defined in src/pools/selection-strategies/selection-strategies-types.ts:116
  • median: boolean
    @@ -61,7 +61,7 @@
    +
  • Defined in src/pools/selection-strategies/selection-strategies-types.ts:120
  • +
  • Defined in src/utility-types.ts:84
  • statistics?: WorkerStatistics
    @@ -114,7 +114,7 @@
    +
  • Defined in src/utility-types.ts:88
  • taskError?: TaskError<Data>
    @@ -122,7 +122,7 @@
    +
  • Defined in src/utility-types.ts:76
  • taskPerformance?: TaskPerformance
    @@ -130,7 +130,7 @@
    +
  • Defined in src/utility-types.ts:80
  • timestamp?: number
    @@ -139,7 +139,7 @@
    +
  • Defined in src/pools/worker.ts:51
  • +
  • Defined in src/pools/pool.ts:144
  • errorHandler?: ErrorHandler<Worker>
    @@ -83,7 +83,7 @@
    +
  • Defined in src/pools/pool.ts:110
  • exitHandler?: ExitHandler<Worker>
    @@ -91,7 +91,7 @@
    +
  • Defined in src/pools/pool.ts:118
  • messageHandler?: MessageHandler<Worker>
    @@ -99,7 +99,7 @@
    +
  • Defined in src/pools/pool.ts:106
  • onlineHandler?: OnlineHandler<Worker>
    @@ -107,7 +107,7 @@
    +
  • Defined in src/pools/pool.ts:114
  • restartWorkerOnError?: boolean
    @@ -115,7 +115,7 @@
    +
  • Defined in src/pools/pool.ts:132
  • tasksQueueOptions?: TasksQueueOptions
    @@ -123,7 +123,7 @@
    +
  • Defined in src/pools/pool.ts:148
  • workerChoiceStrategy?: "ROUND_ROBIN" | "LEAST_USED" | "LEAST_BUSY" | "LEAST_ELU" | "FAIR_SHARE" | "WEIGHTED_ROUND_ROBIN" | "INTERLEAVED_WEIGHTED_ROUND_ROBIN"
    @@ -133,7 +133,7 @@

    Default Value

    WorkerChoiceStrategies.ROUND_ROBIN

    +
  • Defined in src/pools/pool.ts:124
  • workerChoiceStrategyOptions?: WorkerChoiceStrategyOptions
    @@ -141,7 +141,7 @@
    +
  • Defined in src/pools/pool.ts:128
  • +
  • Defined in src/utility-types.ts:105
  • worker: Worker
    @@ -100,7 +100,7 @@
    +
  • Defined in src/utility-types.ts:113
  • +
  • Defined in src/pools/worker.ts:55
  • name?: string
    @@ -72,7 +72,7 @@
    +
  • Defined in src/pools/worker.ts:43
  • timestamp?: number
    @@ -80,7 +80,7 @@
    +
  • Defined in src/pools/worker.ts:51
  • +
  • Defined in src/utility-types.ts:23
  • +
  • Defined in src/utility-types.ts:41
  • timestamp: number
    @@ -61,7 +61,7 @@
    +
  • Defined in src/utility-types.ts:37
  • +
  • Defined in src/pools/worker.ts:106
  • failed: number
    @@ -62,7 +62,7 @@
    +
  • Defined in src/pools/worker.ts:114
  • queued: number
    @@ -70,7 +70,7 @@
    +
  • Defined in src/pools/worker.ts:110
  • +
  • Defined in src/pools/selection-strategies/selection-strategies-types.ts:132
  • @@ -61,7 +61,7 @@
    +
  • Defined in src/pools/selection-strategies/selection-strategies-types.ts:136
  • +
  • Defined in src/pools/pool.ts:94
  • +
  • Defined in src/pools/pool.ts:144
  • errorHandler?: ErrorHandler<Worker>
    @@ -78,7 +78,7 @@
    +
  • Defined in src/pools/pool.ts:110
  • exitHandler?: ExitHandler<Worker>
    @@ -87,7 +87,7 @@
    +
  • Defined in src/pools/pool.ts:118
  • messageHandler?: MessageHandler<Worker>
    @@ -96,7 +96,7 @@
    +
  • Defined in src/pools/pool.ts:106
  • onlineHandler?: OnlineHandler<Worker>
    @@ -105,7 +105,7 @@
    +
  • Defined in src/pools/pool.ts:114
  • restartWorkerOnError?: boolean
    @@ -114,7 +114,7 @@
    +
  • Defined in src/pools/pool.ts:132
  • tasksQueueOptions?: TasksQueueOptions
    @@ -123,7 +123,7 @@
    +
  • Defined in src/pools/pool.ts:148
  • workerChoiceStrategy?: "ROUND_ROBIN" | "LEAST_USED" | "LEAST_BUSY" | "LEAST_ELU" | "FAIR_SHARE" | "WEIGHTED_ROUND_ROBIN" | "INTERLEAVED_WEIGHTED_ROUND_ROBIN"
    @@ -134,7 +134,7 @@
    +
  • Defined in src/pools/pool.ts:124
  • workerChoiceStrategyOptions?: WorkerChoiceStrategyOptions
    @@ -143,7 +143,7 @@
    +
  • Defined in src/pools/pool.ts:128
  • workerOptions?: WorkerOptions
    @@ -153,7 +153,7 @@

    See

    https://nodejs.org/api/worker_threads.html#new-workerfilename-options

    +
  • Defined in src/pools/thread/fixed.ts:27
  • +
  • Defined in src/pools/selection-strategies/selection-strategies-types.ts:75
  • @@ -67,7 +67,7 @@

    Default Value

    { median: false }

    +
  • Defined in src/pools/selection-strategies/selection-strategies-types.ts:81
  • waitTime?: MeasurementOptions
    @@ -77,7 +77,7 @@

    Default Value

    { median: false }

    +
  • Defined in src/pools/selection-strategies/selection-strategies-types.ts:87
  • weights?: Record<number, number>
    @@ -88,7 +88,7 @@ Weight is the tasks maximum average or median runtime in milliseconds.

    Default Value

    Computed worker weights automatically given the CPU performance.

    +
  • Defined in src/pools/selection-strategies/selection-strategies-types.ts:100
  • +
  • Defined in src/pools/worker.ts:175
  • workerUsage: WorkerUsage
    @@ -74,7 +74,7 @@
    +
  • Defined in src/pools/worker.ts:179
  • +
  • Defined in src/worker/worker-options.ts:69
  • maxInactiveTime?: number
    @@ -81,7 +81,7 @@ when this timeout expires your tasks is interrupted and the worker is killed if

    Default Value

    60000

    +
  • Defined in src/worker/worker-options.ts:51
  • +
  • Defined in src/pools/worker.ts:130
  • @@ -62,7 +62,7 @@
    +
  • Defined in src/pools/worker.ts:126
  • @@ -70,7 +70,7 @@
    +
  • Defined in src/pools/worker.ts:134
  • +
  • Defined in src/pools/worker.ts:15
  • +
  • Defined in src/pools/worker.ts:28
  • +
  • Defined in src/worker/worker-options.ts:18
  • +
  • Defined in src/pools/selection-strategies/selection-strategies-types.ts:56
  • +
  • Defined in src/pools/worker.ts:7
  • +
  • Defined in src/pools/worker.ts:23
  • +
  • Defined in src/pools/pool.ts:65
  • +
  • Defined in src/pools/pool.ts:32
  • +
  • Defined in src/pools/thread/fixed.ts:33
  • +
  • Defined in src/worker/worker-functions.ts:18
  • +
  • Defined in src/pools/selection-strategies/selection-strategies-types.ts:42
  • +
  • Defined in src/worker/worker-functions.ts:7
  • +
  • Defined in src/pools/pool.ts:45
  • +
  • Defined in src/worker/worker-options.ts:4
  • +
  • Defined in src/pools/selection-strategies/selection-strategies-types.ts:47
  • +
  • Defined in src/pools/pool.ts:55
  • +
  • Defined in src/pools/pool.ts:18
  • +
  • Defined in src/pools/selection-strategies/selection-strategies-types.ts:4
  • +
  • Defined in src/pools/pool.ts:37