From: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Date: Sat, 15 Apr 2023 17:13:41 +0000 (+0000)
Subject: chore: generate documentation
X-Git-Tag: v2.4.10~9^2
X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=9954c636f2caafac0b2bf0289059788679fd3053;p=poolifier.git
chore: generate documentation
---
diff --git a/docs/classes/AbstractPool.html b/docs/classes/AbstractPool.html
index 665bed64..5a10ce60 100644
--- a/docs/classes/AbstractPool.html
+++ b/docs/classes/AbstractPool.html
@@ -45,7 +45,7 @@
IPool < Worker , Data , Response >
+Defined in src/pools/abstract-pool.ts:33
@@ -151,7 +151,7 @@
Returns AbstractPool < Worker , Data , Response >
+Defined in src/pools/abstract-pool.ts:75
Readonly
file Path
file Path: string
+Defined in src/pools/abstract-pool.ts:77
Readonly
number Of Workers
number Of Workers: number
+Defined in src/pools/abstract-pool.ts:76
+Defined in src/pools/abstract-pool.ts:78
Protected
promise Response Map
@@ -199,7 +199,7 @@
When we receive a message from the worker, we get a map entry with the promise resolve/reject bound to the message id.
+Defined in src/pools/abstract-pool.ts:52
Protected
worker Choice Strategy Context
@@ -207,7 +207,7 @@
Default to a round robin algorithm.
+Defined in src/pools/abstract-pool.ts:62
Readonly
worker Nodes
@@ -215,7 +215,7 @@
+Defined in src/pools/abstract-pool.ts:39
Protected
Abstract
full
@@ -239,7 +239,7 @@
Returns boolean
+Defined in src/pools/abstract-pool.ts:289
Private
number Of Queued Tasks
@@ -249,7 +249,7 @@
Returns number
+Defined in src/pools/abstract-pool.ts:195
Private
number Of Running Tasks
@@ -259,7 +259,7 @@
Returns number
+Defined in src/pools/abstract-pool.ts:185
+Defined in src/pools/abstract-pool.ts:180
Protected
Abstract
after Worker Setup
@@ -313,7 +313,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:477
Protected
before Task Execution Hook
@@ -331,7 +331,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:378
Private
build Tasks Queue Options
@@ -344,7 +344,7 @@ Can be overridden.
+Defined in src/pools/abstract-pool.ts:276
Private
check And Emit Events
@@ -352,7 +352,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:535
Private
check File Path
@@ -365,7 +365,7 @@ Can be overridden.
filePath: string
Returns void
+Defined in src/pools/abstract-pool.ts:112
Private
check Number Of Workers
@@ -378,7 +378,7 @@ Can be overridden.
numberOfWorkers: number
Returns void
+Defined in src/pools/abstract-pool.ts:121
Private
check Pool Options
@@ -391,7 +391,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:139
Private
check Valid Tasks Queue Options
@@ -404,7 +404,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:167
Private
check Valid Worker Choice Strategy
@@ -417,7 +417,7 @@ Can be overridden.
workerChoiceStrategy: "ROUND_ROBIN" | "LESS_USED" | "LESS_BUSY" | "FAIR_SHARE" | "WEIGHTED_ROUND_ROBIN"
Returns void
+Defined in src/pools/abstract-pool.ts:157
Protected
choose Worker Node
@@ -430,7 +430,7 @@ Can be overridden.
Returns [ number , WorkerNode < Worker , Data > ]
+Defined in src/pools/abstract-pool.ts:422
Protected
create And Setup Worker
@@ -442,7 +442,7 @@ Can be overridden.
Returns Worker
+Defined in src/pools/abstract-pool.ts:484
Protected
Abstract
create Worker
@@ -452,7 +452,7 @@ Can be overridden.
Returns Worker
+Defined in src/pools/abstract-pool.ts:468
Private
dequeue Task
@@ -465,7 +465,7 @@ Can be overridden.
workerNodeKey: number
Returns undefined | Task < Data >
+Defined in src/pools/abstract-pool.ts:637
+Defined in src/pools/abstract-pool.ts:341
Protected
Abstract
destroy Worker
@@ -493,7 +493,7 @@ Can be overridden.
Returns void | Promise < void >
+Defined in src/pools/abstract-pool.ts:355
+Defined in src/pools/abstract-pool.ts:254
Private
enqueue Task
@@ -530,7 +530,7 @@ Can be overridden.
task: Task < Data >
Returns number
+Defined in src/pools/abstract-pool.ts:633
+Defined in src/pools/abstract-pool.ts:310
Private
execute Task
@@ -565,7 +565,7 @@ Can be overridden.
task: Task < Data >
Returns void
+Defined in src/pools/abstract-pool.ts:628
+Defined in src/pools/abstract-pool.ts:303
Private
flush Tasks Queue
@@ -593,7 +593,7 @@ Can be overridden.
workerNodeKey: number
Returns void
+Defined in src/pools/abstract-pool.ts:645
Private
flush Tasks Queue By Worker
@@ -606,7 +606,7 @@ Can be overridden.
worker: Worker
Returns void
+Defined in src/pools/abstract-pool.ts:653
Private
flush Tasks Queues
@@ -614,7 +614,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:658
Private
get Worker Node Key
@@ -633,7 +633,7 @@ Can be overridden.
Returns number
+Defined in src/pools/abstract-pool.ts:211
Private
get Worker Tasks Usage
@@ -654,7 +654,7 @@ Can be overridden.
+Defined in src/pools/abstract-pool.ts:566
Protected
internal Busy
@@ -662,7 +662,7 @@ Can be overridden.
Returns boolean
+Defined in src/pools/abstract-pool.ts:298
Protected
Abstract
is Main
@@ -672,7 +672,7 @@ Can be overridden.
Returns boolean
+Defined in src/pools/abstract-pool.ts:370
Private
push Worker Node
@@ -691,7 +691,7 @@ Can be overridden.
Returns number
+Defined in src/pools/abstract-pool.ts:580
Protected
Abstract
register Worker Message Listener
@@ -728,7 +728,7 @@ Can be overridden.
Returns void
Returns void
+Defined in src/pools/abstract-pool.ts:461
Private
remove Worker Node
@@ -745,7 +745,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:622
Protected
Abstract
send To Worker
@@ -766,7 +766,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:450
+Defined in src/pools/abstract-pool.ts:266
+Defined in src/pools/abstract-pool.ts:218
set Worker Choice Strategy Options
+Defined in src/pools/abstract-pool.ts:244
Private
set Worker Node
@@ -853,7 +853,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:604
Private
set Worker Node Tasks Usage
@@ -874,7 +874,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:552
Protected
setup Hook
@@ -885,7 +885,7 @@ Can be overridden
Returns void
+Defined in src/pools/abstract-pool.ts:363
Private
tasks Queue Size
@@ -898,7 +898,7 @@ Can be overridden
workerNodeKey: number
Returns number
+Defined in src/pools/abstract-pool.ts:641
Protected
worker Listener
@@ -925,7 +925,7 @@ Can be overridden
message: MessageValue < Response , unknown >
Returns void
+Defined in src/pools/abstract-pool.ts:507
Returns void
+Defined in src/worker/abstract-worker.ts:122
Private
check Worker Options
@@ -241,7 +241,7 @@ the AsyncResource
to which the function is bound.
Returns void
+Defined in src/worker/abstract-worker.ts:110
emit Destroy
@@ -269,7 +269,7 @@ never be called.
Returns MainWorker
+Defined in src/worker/abstract-worker.ts:139
Protected
handle Error
@@ -288,7 +288,7 @@ never be called.
Returns string
+Defined in src/worker/abstract-worker.ts:171
Protected
message Listener
@@ -309,7 +309,7 @@ never be called.
Returns void
+Defined in src/worker/abstract-worker.ts:89
Protected
run
@@ -330,7 +330,7 @@ never be called.
Returns void
+Defined in src/worker/abstract-worker.ts:181
Protected
run Async
@@ -351,7 +351,7 @@ never be called.
Returns void
+Defined in src/worker/abstract-worker.ts:208
run In Async Scope
@@ -419,7 +419,7 @@ then restore the original execution context.
Returns void
+Defined in src/worker/abstract-worker.ts:151
trigger Async Id
diff --git a/docs/classes/CircularArray.html b/docs/classes/CircularArray.html
index a914d024..cce78041 100644
--- a/docs/classes/CircularArray.html
+++ b/docs/classes/CircularArray.html
@@ -30,7 +30,7 @@
+Defined in src/circular-array.ts:8
+Defined in src/circular-array.ts:11
Properties
@@ -148,7 +148,7 @@ when they will be absent when used in a 'with' statement.
size
size: number
+Defined in src/circular-array.ts:9
Static
Readonly
[species]
[species]: ArrayConstructor
@@ -198,7 +198,7 @@ when they will be absent when used in a 'with' statement.
size: number
Returns void
+Defined in src/circular-array.ts:84
concat
@@ -212,7 +212,7 @@ when they will be absent when used in a 'with' statement.
+Defined in src/circular-array.ts:36
copy Within
@@ -249,7 +249,7 @@ is treated as length+end.
Returns boolean
+Defined in src/circular-array.ts:76
entries
@@ -684,7 +684,7 @@ thisArg is omitted, undefined is used as the this value.
Returns boolean
+Defined in src/circular-array.ts:80
includes
@@ -847,7 +847,7 @@ If the array is empty, undefined is returned and the array is not modified.
Returns number
+Defined in src/circular-array.ts:20
reduce
@@ -1072,7 +1072,7 @@ If the array is empty, undefined is returned and the array is not modified.
size: number
Returns void
+Defined in src/circular-array.ts:64
reverse
@@ -1216,7 +1216,7 @@ value otherwise. If omitted, the elements are sorted in ascending, ASCII charact
Returns T []
+Defined in src/circular-array.ts:50
to Locale String
@@ -1252,7 +1252,7 @@ value otherwise. If omitted, the elements are sorted in ascending, ASCII charact
Returns number
+Defined in src/circular-array.ts:28
values
diff --git a/docs/classes/ClusterWorker.html b/docs/classes/ClusterWorker.html
index aeebdf03..27393d73 100644
--- a/docs/classes/ClusterWorker.html
+++ b/docs/classes/ClusterWorker.html
@@ -44,7 +44,7 @@ but the minimum number of workers will be guaranteed.
+Defined in src/worker/cluster-worker.ts:21
@@ -108,7 +108,7 @@ but the minimum number of workers will be guaranteed.
+Defined in src/worker/cluster-worker.ts:31
Protected
Readonly
is Main
is Main: boolean
@@ -126,7 +126,7 @@ but the minimum number of workers will be guaranteed.
+Defined in src/worker/abstract-worker.ts:48
Protected
last Task Timestamp
last Task Timestamp: number
@@ -134,7 +134,7 @@ but the minimum number of workers will be guaranteed.
+Defined in src/worker/abstract-worker.ts:32
Protected
main Worker
main Worker: undefined | null | Worker
@@ -142,7 +142,7 @@ but the minimum number of workers will be guaranteed.
+Defined in src/worker/abstract-worker.ts:50
Protected
Readonly
opts
@@ -150,7 +150,7 @@ but the minimum number of workers will be guaranteed.
+Defined in src/worker/abstract-worker.ts:51
+Defined in src/worker/abstract-worker.ts:139
+Defined in src/worker/cluster-worker.ts:50
Protected
message Listener
+Defined in src/worker/abstract-worker.ts:89
+Defined in src/worker/abstract-worker.ts:181
+Defined in src/worker/abstract-worker.ts:208
+Defined in src/worker/cluster-worker.ts:45
trigger Async Id
diff --git a/docs/classes/DynamicClusterPool.html b/docs/classes/DynamicClusterPool.html
index 909eb463..0b6dd839 100644
--- a/docs/classes/DynamicClusterPool.html
+++ b/docs/classes/DynamicClusterPool.html
@@ -42,7 +42,7 @@ When the maximum number of workers is reached and workers are busy, an event is
+Defined in src/pools/cluster/dynamic.ts:16
@@ -132,7 +132,7 @@ When the maximum number of workers is reached and workers are busy, an event is
+Defined in src/pools/cluster/dynamic.ts:28
Properties
@@ -147,7 +147,7 @@ When the maximum number of workers is reached and workers are busy, an event is
+Defined in src/pools/abstract-pool.ts:42
Readonly
file Path
file Path: string
@@ -155,14 +155,14 @@ When the maximum number of workers is reached and workers are busy, an event is
+Defined in src/pools/abstract-pool.ts:77
+Defined in src/pools/cluster/dynamic.ts:30
Readonly
number Of Workers
number Of Workers: number
@@ -170,7 +170,7 @@ When the maximum number of workers is reached and workers are busy, an event is
+Defined in src/pools/abstract-pool.ts:76
Readonly
opts
@@ -178,7 +178,7 @@ When the maximum number of workers is reached and workers are busy, an event is
+Defined in src/pools/cluster/fixed.ts:53
Protected
promise Response Map
@@ -191,7 +191,7 @@ When the maximum number of workers is reached and workers are busy, an event is
+Defined in src/pools/abstract-pool.ts:52
Protected
worker Choice Strategy Context
@@ -200,7 +200,7 @@ When the maximum number of workers is reached and workers are busy, an event is
+Defined in src/pools/abstract-pool.ts:62
Readonly
worker Nodes
@@ -208,7 +208,7 @@ When the maximum number of workers is reached and workers are busy, an event is
+Defined in src/pools/abstract-pool.ts:39
Accessors
@@ -222,7 +222,7 @@ When the maximum number of workers is reached and workers are busy, an event is
Returns boolean
+Defined in src/pools/cluster/dynamic.ts:48
+Defined in src/pools/cluster/dynamic.ts:43
Private
number Of Queued Tasks
+Defined in src/pools/abstract-pool.ts:195
Private
number Of Running Tasks
+Defined in src/pools/abstract-pool.ts:185
+Defined in src/pools/cluster/dynamic.ts:38
Protected
after Worker Setup
+Defined in src/pools/cluster/fixed.ts:93
Protected
before Task Execution Hook
+Defined in src/pools/abstract-pool.ts:378
Protected
choose Worker Node
+Defined in src/pools/abstract-pool.ts:422
Protected
create And Setup Worker
+Defined in src/pools/abstract-pool.ts:484
+Defined in src/pools/cluster/fixed.ts:88
+Defined in src/pools/abstract-pool.ts:341
+Defined in src/pools/cluster/fixed.ts:69
+Defined in src/pools/abstract-pool.ts:254
+Defined in src/pools/abstract-pool.ts:310
+Defined in src/pools/abstract-pool.ts:303
+Defined in src/pools/abstract-pool.ts:298
+Defined in src/pools/cluster/fixed.ts:64
Protected
register Worker Message Listener
+Defined in src/pools/cluster/fixed.ts:80
+Defined in src/pools/cluster/fixed.ts:75
+Defined in src/pools/abstract-pool.ts:266
+Defined in src/pools/abstract-pool.ts:218
set Worker Choice Strategy Options
+Defined in src/pools/abstract-pool.ts:244
+Defined in src/pools/cluster/fixed.ts:59
Protected
worker Listener
@@ -633,7 +633,7 @@ Can be overridden
Returns void
+Defined in src/pools/abstract-pool.ts:507
+Defined in src/pools/abstract-pool.ts:76
Readonly
opts
@@ -178,7 +178,7 @@ When the maximum number of threads is reached and workers are busy, an event is
+Defined in src/pools/abstract-pool.ts:78
Protected
promise Response Map
@@ -191,7 +191,7 @@ When the maximum number of threads is reached and workers are busy, an event is
+Defined in src/pools/abstract-pool.ts:52
Protected
worker Choice Strategy Context
@@ -200,7 +200,7 @@ When the maximum number of threads is reached and workers are busy, an event is
+Defined in src/pools/abstract-pool.ts:62
Readonly
worker Nodes
@@ -208,7 +208,7 @@ When the maximum number of threads is reached and workers are busy, an event is
+Defined in src/pools/abstract-pool.ts:39
Accessors
@@ -222,7 +222,7 @@ When the maximum number of threads is reached and workers are busy, an event is
Returns boolean
+Defined in src/pools/thread/dynamic.ts:49
+Defined in src/pools/thread/dynamic.ts:44
Private
number Of Queued Tasks
+Defined in src/pools/abstract-pool.ts:195
Private
number Of Running Tasks
+Defined in src/pools/abstract-pool.ts:185
+Defined in src/pools/thread/dynamic.ts:39
Protected
after Worker Setup
+Defined in src/pools/thread/fixed.ts:85
Protected
before Task Execution Hook
+Defined in src/pools/abstract-pool.ts:378
Protected
choose Worker Node
+Defined in src/pools/abstract-pool.ts:422
Protected
create And Setup Worker
+Defined in src/pools/abstract-pool.ts:484
+Defined in src/pools/thread/fixed.ts:78
+Defined in src/pools/abstract-pool.ts:341
+Defined in src/pools/thread/fixed.ts:54
+Defined in src/pools/abstract-pool.ts:254
+Defined in src/pools/abstract-pool.ts:310
+Defined in src/pools/abstract-pool.ts:303
+Defined in src/pools/abstract-pool.ts:298
+Defined in src/pools/thread/fixed.ts:49
Protected
register Worker Message Listener
+Defined in src/pools/thread/fixed.ts:70
+Defined in src/pools/thread/fixed.ts:62
+Defined in src/pools/abstract-pool.ts:266
+Defined in src/pools/abstract-pool.ts:218
set Worker Choice Strategy Options
+Defined in src/pools/abstract-pool.ts:244
+Defined in src/pools/abstract-pool.ts:363
Protected
worker Listener
@@ -633,7 +633,7 @@ Can be overridden
Returns void
+Defined in src/pools/abstract-pool.ts:507
+Defined in src/pools/abstract-pool.ts:76
Readonly
opts
@@ -168,7 +168,7 @@
+Defined in src/pools/cluster/fixed.ts:53
Protected
promise Response Map
@@ -181,7 +181,7 @@
+Defined in src/pools/abstract-pool.ts:52
Protected
worker Choice Strategy Context
@@ -190,7 +190,7 @@
+Defined in src/pools/abstract-pool.ts:62
Readonly
worker Nodes
@@ -198,7 +198,7 @@
+Defined in src/pools/abstract-pool.ts:39
+Defined in src/pools/cluster/fixed.ts:104
Private
number Of Queued Tasks
+Defined in src/pools/abstract-pool.ts:195
Private
number Of Running Tasks
+Defined in src/pools/abstract-pool.ts:185
+Defined in src/pools/cluster/fixed.ts:99
Protected
after Worker Setup
+Defined in src/pools/cluster/fixed.ts:93
Protected
before Task Execution Hook
+Defined in src/pools/abstract-pool.ts:378
Protected
choose Worker Node
+Defined in src/pools/abstract-pool.ts:422
Protected
create And Setup Worker
+Defined in src/pools/abstract-pool.ts:484
+Defined in src/pools/cluster/fixed.ts:88
+Defined in src/pools/abstract-pool.ts:341
+Defined in src/pools/cluster/fixed.ts:69
+Defined in src/pools/abstract-pool.ts:254
+Defined in src/pools/abstract-pool.ts:310
+Defined in src/pools/abstract-pool.ts:303
+Defined in src/pools/abstract-pool.ts:298
+Defined in src/pools/cluster/fixed.ts:64
Protected
register Worker Message Listener
+Defined in src/pools/cluster/fixed.ts:80
+Defined in src/pools/cluster/fixed.ts:75
+Defined in src/pools/abstract-pool.ts:266
+Defined in src/pools/abstract-pool.ts:218
set Worker Choice Strategy Options
+Defined in src/pools/abstract-pool.ts:244
+Defined in src/pools/cluster/fixed.ts:59
Protected
worker Listener
@@ -623,7 +623,7 @@ Can be overridden
Returns void
+Defined in src/pools/abstract-pool.ts:507
+Defined in src/pools/abstract-pool.ts:76
Readonly
opts
@@ -168,7 +168,7 @@
+Defined in src/pools/abstract-pool.ts:78
Protected
promise Response Map
@@ -181,7 +181,7 @@
+Defined in src/pools/abstract-pool.ts:52
Protected
worker Choice Strategy Context
@@ -190,7 +190,7 @@
+Defined in src/pools/abstract-pool.ts:62
Readonly
worker Nodes
@@ -198,7 +198,7 @@
+Defined in src/pools/abstract-pool.ts:39
+Defined in src/pools/thread/fixed.ts:100
Private
number Of Queued Tasks
+Defined in src/pools/abstract-pool.ts:195
Private
number Of Running Tasks
+Defined in src/pools/abstract-pool.ts:185
+Defined in src/pools/thread/fixed.ts:95
Protected
after Worker Setup
+Defined in src/pools/thread/fixed.ts:85
Protected
before Task Execution Hook
+Defined in src/pools/abstract-pool.ts:378
Protected
choose Worker Node
+Defined in src/pools/abstract-pool.ts:422
Protected
create And Setup Worker
+Defined in src/pools/abstract-pool.ts:484
+Defined in src/pools/thread/fixed.ts:78
+Defined in src/pools/abstract-pool.ts:341
+Defined in src/pools/thread/fixed.ts:54
+Defined in src/pools/abstract-pool.ts:254
+Defined in src/pools/abstract-pool.ts:310
+Defined in src/pools/abstract-pool.ts:303
+Defined in src/pools/abstract-pool.ts:298
+Defined in src/pools/thread/fixed.ts:49
Protected
register Worker Message Listener
+Defined in src/pools/thread/fixed.ts:70
+Defined in src/pools/thread/fixed.ts:62
+Defined in src/pools/abstract-pool.ts:266
+Defined in src/pools/abstract-pool.ts:218
set Worker Choice Strategy Options
+Defined in src/pools/abstract-pool.ts:244
+Defined in src/pools/abstract-pool.ts:363
Protected
worker Listener
@@ -623,7 +623,7 @@ Can be overridden
Returns void
+Defined in src/pools/abstract-pool.ts:507
+Defined in src/worker/abstract-worker.ts:32
Protected
main Worker
main Worker: undefined | null | MessagePort
@@ -142,7 +142,7 @@ but the minimum number of workers will be guaranteed.
+Defined in src/worker/abstract-worker.ts:50
Protected
Readonly
opts
@@ -150,7 +150,7 @@ but the minimum number of workers will be guaranteed.
+Defined in src/worker/abstract-worker.ts:51
+Defined in src/worker/abstract-worker.ts:139
+Defined in src/worker/abstract-worker.ts:171
Protected
message Listener
+Defined in src/worker/abstract-worker.ts:89
+Defined in src/worker/abstract-worker.ts:181
+Defined in src/worker/abstract-worker.ts:208
+Defined in src/worker/thread-worker.ts:39
trigger Async Id
diff --git a/docs/classes/WorkerChoiceStrategyContext.html b/docs/classes/WorkerChoiceStrategyContext.html
index 9cf1b013..781c86ed 100644
--- a/docs/classes/WorkerChoiceStrategyContext.html
+++ b/docs/classes/WorkerChoiceStrategyContext.html
@@ -38,7 +38,7 @@
WorkerChoiceStrategyContext
+Defined in src/pools/selection-strategies/worker-choice-strategy-context.ts:24
+Defined in src/pools/selection-strategies/worker-choice-strategy-context.ts:41
Private
worker Choice Strategy
worker Choice Strategy: "ROUND_ROBIN" | "LESS_USED" | "LESS_BUSY" | "FAIR_SHARE" | "WEIGHTED_ROUND_ROBIN" = WorkerChoiceStrategies.ROUND_ROBIN
+Defined in src/pools/selection-strategies/worker-choice-strategy-context.ts:43
+Defined in src/pools/selection-strategies/worker-choice-strategy-context.ts:82
+Defined in src/pools/selection-strategies/worker-choice-strategy-context.ts:123
+Defined in src/pools/selection-strategies/worker-choice-strategy-context.ts:136
set Worker Choice Strategy
Returns void
+Defined in src/pools/selection-strategies/worker-choice-strategy-context.ts:95
+Defined in src/pools/pool.ts:75
Optional
exit Handler
@@ -91,7 +91,7 @@
+Defined in src/pools/pool.ts:83
Optional
message Handler
@@ -99,7 +99,7 @@
+Defined in src/pools/pool.ts:71
Optional
online Handler
@@ -107,7 +107,7 @@
+Defined in src/pools/pool.ts:79
+Defined in src/pools/cluster/fixed.ts:24
Optional
tasks Queue Options
@@ -124,7 +124,7 @@
+Defined in src/pools/pool.ts:109
Optional
worker Choice Strategy
worker Choice Strategy?: "ROUND_ROBIN" | "LESS_USED" | "LESS_BUSY" | "FAIR_SHARE" | "WEIGHTED_ROUND_ROBIN"
@@ -134,7 +134,7 @@
+Defined in src/pools/pool.ts:89
Optional
worker Choice Strategy Options
@@ -142,7 +142,7 @@
+Defined in src/pools/pool.ts:93
+Defined in src/pools/pool.ts:142
enable Tasks Queue
@@ -115,7 +115,7 @@
Returns void
+Defined in src/pools/pool.ts:188
execute
execute: ( ( data?: Data ) => Promise < Response > )
@@ -139,7 +139,7 @@
Returns Promise < Response >
+Defined in src/pools/pool.ts:159
find Free Worker Node Key
find Free Worker Node Key: ( ( ) => number )
@@ -158,7 +158,7 @@
Returns number
+Defined in src/pools/pool.ts:152
set Tasks Queue Options
@@ -180,7 +180,7 @@
Returns void
+Defined in src/pools/pool.ts:197
set Worker Choice Strategy
set
Worker
Choice
Strategy
: ( ( workerChoiceStrategy
: "ROUND_ROBIN" | "LESS_USED" | "LESS_BUSY" | "FAIR_SHARE" | "WEIGHTED_ROUND_ROBIN" , workerChoiceStrategyOptions
?: WorkerChoiceStrategyOptions ) => void )
@@ -206,7 +206,7 @@
Returns void
+Defined in src/pools/pool.ts:170
set Worker Choice Strategy Options
@@ -228,7 +228,7 @@
Returns void
+Defined in src/pools/pool.ts:179
Readonly
type
@@ -236,14 +236,14 @@
If it is 'dynamic'
, it provides the max
property.
+Defined in src/pools/pool.ts:129
+Defined in src/pools/pool.ts:133
Returns void
+Defined in src/pools/worker.ts:105
Returns boolean
+Defined in src/pools/selection-strategies/selection-strategies-types.ts:85
Readonly
required Statistics
+Defined in src/pools/selection-strategies/selection-strategies-types.ts:71
reset
reset: ( ( ) => boolean )
@@ -97,7 +97,7 @@
Returns boolean
+Defined in src/pools/selection-strategies/selection-strategies-types.ts:75
set Options
@@ -119,7 +119,7 @@
Returns void
+Defined in src/pools/selection-strategies/selection-strategies-types.ts:91
+Defined in src/utility-types.ts:35
+Defined in src/pools/pool.ts:89
Optional
worker Choice Strategy Options
+Defined in src/pools/pool.ts:93
Returns void
+Defined in src/utility-types.ts:86
Readonly
worker
worker: Worker
+Defined in src/utility-types.ts:94
Path to the worker file.