From: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Date: Sun, 4 Jun 2023 14:13:24 +0000 (+0000)
Subject: chore: generate documentation
X-Git-Tag: v2.5.3~1
X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=5decbf239157d04bdf38a642fe2757f565a8d466;p=poolifier.git
chore: generate documentation
---
diff --git a/docs/classes/AbstractPool.html b/docs/classes/AbstractPool.html
index fefd8138..0fbaae35 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:38
@@ -153,7 +153,7 @@
Returns AbstractPool < Worker , Data , Response >
+Defined in src/pools/abstract-pool.ts:80
Protected
Readonly
file Path
file Path : string
+Defined in src/pools/abstract-pool.ts:82
Protected
Readonly
number Of Workers
number Of Workers : number
+Defined in src/pools/abstract-pool.ts:81
+Defined in src/pools/abstract-pool.ts:83
Protected
promise Response Map
@@ -203,7 +203,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:57
Protected
worker Choice Strategy Context
@@ -211,7 +211,7 @@
Default to a round robin algorithm.
+Defined in src/pools/abstract-pool.ts:67
Readonly
worker Nodes
@@ -219,7 +219,7 @@
+Defined in src/pools/abstract-pool.ts:44
Protected
full
@@ -243,7 +243,7 @@
Returns boolean
+Defined in src/pools/abstract-pool.ts:360
+Defined in src/pools/abstract-pool.ts:215
Protected
Abstract
max Size
@@ -264,7 +264,7 @@
Returns number
+Defined in src/pools/abstract-pool.ts:269
Protected
Abstract
min Size
@@ -274,7 +274,7 @@
Returns number
+Defined in src/pools/abstract-pool.ts:264
Protected
Abstract
type
@@ -285,7 +285,7 @@
Returns "fixed" | "dynamic"
+Defined in src/pools/abstract-pool.ts:254
Protected
Abstract
worker
@@ -295,7 +295,7 @@
Returns "cluster" | "thread"
+Defined in src/pools/abstract-pool.ts:259
Protected
Abstract
after Worker Setup
@@ -337,7 +337,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:589
Protected
before Task Execution Hook
@@ -355,7 +355,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:453
Private
build Tasks Queue Options
@@ -368,7 +368,7 @@ Can be overridden.
+Defined in src/pools/abstract-pool.ts:347
Private
check And Emit Events
@@ -376,7 +376,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:663
Private
check File Path
@@ -389,7 +389,7 @@ Can be overridden.
filePath : string
Returns void
+Defined in src/pools/abstract-pool.ts:117
Private
check Number Of Workers
@@ -402,7 +402,7 @@ Can be overridden.
numberOfWorkers : number
Returns void
+Defined in src/pools/abstract-pool.ts:126
Private
check Pool Options
@@ -415,7 +415,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:144
Private
check Valid Tasks Queue Options
@@ -428,7 +428,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:199
Private
check Valid Worker Choice Strategy
@@ -441,7 +441,7 @@ Can be overridden.
workerChoiceStrategy : "ROUND_ROBIN" | "LEAST_USED" | "LEAST_BUSY" | "FAIR_SHARE" | "WEIGHTED_ROUND_ROBIN" | "INTERLEAVED_WEIGHTED_ROUND_ROBIN"
Returns void
+Defined in src/pools/abstract-pool.ts:171
Private
check Valid Worker Choice Strategy Options
@@ -454,7 +454,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:181
Protected
choose Worker Node
@@ -466,7 +466,7 @@ Can be overridden.
Returns number The worker node key
+Defined in src/pools/abstract-pool.ts:532
Protected
create And Setup Worker
@@ -477,7 +477,7 @@ Can be overridden.
Returns Worker New, completely set up worker.
+Defined in src/pools/abstract-pool.ts:596
Protected
Abstract
create Worker
@@ -487,7 +487,7 @@ Can be overridden.
Returns Worker
+Defined in src/pools/abstract-pool.ts:580
Private
dequeue Task
@@ -500,7 +500,7 @@ Can be overridden.
workerNodeKey : number
Returns undefined | Task < Data >
+Defined in src/pools/abstract-pool.ts:756
+Defined in src/pools/abstract-pool.ts:415
Protected
Abstract
destroy Worker
@@ -528,7 +528,7 @@ Can be overridden.
Returns void | Promise < void >
+Defined in src/pools/abstract-pool.ts:430
+Defined in src/pools/abstract-pool.ts:325
Private
enqueue Task
@@ -565,7 +565,7 @@ Can be overridden.
task : Task < Data >
Returns number
+Defined in src/pools/abstract-pool.ts:752
+Defined in src/pools/abstract-pool.ts:380
Private
execute Task
@@ -603,7 +603,7 @@ Can be overridden.
task : Task < Data >
Returns void
+Defined in src/pools/abstract-pool.ts:747
Private
flush Tasks Queue
@@ -616,7 +616,7 @@ Can be overridden.
workerNodeKey : number
Returns void
+Defined in src/pools/abstract-pool.ts:764
Private
flush Tasks Queues
@@ -624,7 +624,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:775
Private
get Worker Node Key
@@ -642,7 +642,7 @@ Can be overridden.
Returns number The worker node key if the worker is found in the pool worker nodes, -1
otherwise.
+Defined in src/pools/abstract-pool.ts:277
Protected
internal Busy
@@ -650,7 +650,7 @@ Can be overridden.
Returns boolean
+Defined in src/pools/abstract-pool.ts:371
Protected
Abstract
is Main
@@ -660,7 +660,7 @@ Can be overridden.
Returns boolean
+Defined in src/pools/abstract-pool.ts:445
Private
push Worker Node
@@ -678,7 +678,7 @@ Can be overridden.
Returns number The worker nodes length.
+Defined in src/pools/abstract-pool.ts:693
Protected
Abstract
register Worker Message Listener
@@ -715,7 +715,7 @@ Can be overridden.
Returns void
Returns void
+Defined in src/pools/abstract-pool.ts:573
Private
remove Worker Node
@@ -732,7 +732,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:739
Protected
Abstract
send To Worker
@@ -753,7 +753,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:562
+Defined in src/pools/abstract-pool.ts:337
+Defined in src/pools/abstract-pool.ts:284
set Worker Choice Strategy Options
+Defined in src/pools/abstract-pool.ts:314
Private
set Worker Node
@@ -840,7 +840,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:721
Private
set Worker Node Tasks Usage
@@ -861,7 +861,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:680
Protected
setup Hook
@@ -872,7 +872,7 @@ Can be overridden
Returns void
+Defined in src/pools/abstract-pool.ts:438
Private
tasks Queue Size
@@ -885,7 +885,7 @@ Can be overridden
workerNodeKey : number
Returns number
+Defined in src/pools/abstract-pool.ts:760
Private
update Run Time Tasks Usage
@@ -900,7 +900,7 @@ Can be overridden
message : MessageValue < Response , Worker | MessagePort >
Returns void
+Defined in src/pools/abstract-pool.ts:479
Private
update Wait Time Tasks Usage
@@ -915,7 +915,7 @@ Can be overridden
message : MessageValue < Response , Worker | MessagePort >
Returns void
+Defined in src/pools/abstract-pool.ts:502
+Defined in src/pools/abstract-pool.ts:629
Returns void
+Defined in src/worker/abstract-worker.ts:101
Private
check Worker Options
Returns void
+Defined in src/worker/abstract-worker.ts:89
+Defined in src/worker/abstract-worker.ts:165
Private
get Task Function
@@ -290,7 +290,7 @@ never be called.
+Defined in src/worker/abstract-worker.ts:276
Protected
handle Error
@@ -308,7 +308,7 @@ never be called.
Returns string Message of the error.
+Defined in src/worker/abstract-worker.ts:197
Protected
message Listener
@@ -325,7 +325,7 @@ never be called.
Returns void
+Defined in src/worker/abstract-worker.ts:141
Protected
run Async
@@ -346,7 +346,7 @@ never be called.
Returns void
+Defined in src/worker/abstract-worker.ts:240
run In Async Scope
@@ -418,7 +418,7 @@ then restore the original execution context.
Returns void
+Defined in src/worker/abstract-worker.ts:207
Protected
Abstract
send To Main Worker
@@ -435,7 +435,7 @@ then restore the original execution context.
Returns void
+Defined in src/worker/abstract-worker.ts:177
trigger Async Id
diff --git a/docs/classes/CircularArray.html b/docs/classes/CircularArray.html
index 35d34e69..43d8ad15 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:88
concat
@@ -214,7 +214,7 @@ when they will be absent when used in a 'with' statement.
+Defined in src/circular-array.ts:39
copy Within
@@ -251,7 +251,7 @@ is treated as length+end. If start is omitted, 0
is used.
Returns boolean
+Defined in src/circular-array.ts:80
entries
@@ -686,7 +686,7 @@ thisArg is omitted, undefined is used as the this value.
Returns boolean
+Defined in src/circular-array.ts:84
includes
@@ -851,7 +851,7 @@ If the array is empty, undefined is returned and the array is not modified.
Returns number
+Defined in src/circular-array.ts:21
reduce
@@ -1076,7 +1076,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:68
reverse
@@ -1222,7 +1222,7 @@ value otherwise. If omitted, the elements are sorted in ascending, ASCII charact
Returns T []
+Defined in src/circular-array.ts:54
to Locale String
@@ -1260,7 +1260,7 @@ value otherwise. If omitted, the elements are sorted in ascending, ASCII charact
Returns number
+Defined in src/circular-array.ts:30
values
diff --git a/docs/classes/ClusterWorker.html b/docs/classes/ClusterWorker.html
index 1d7d4a80..02a94ba0 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:24
@@ -109,7 +109,7 @@ but the minimum number of workers will be guaranteed.
+Defined in src/worker/cluster-worker.ts:34
Protected
Readonly
is Main
is Main : boolean
@@ -127,7 +127,7 @@ but the minimum number of workers will be guaranteed.
+Defined in src/worker/abstract-worker.ts:57
Protected
last Task Timestamp
last Task Timestamp : number
@@ -135,7 +135,7 @@ but the minimum number of workers will be guaranteed.
+Defined in src/worker/abstract-worker.ts:41
Protected
main Worker
main Worker : undefined | null | Worker
@@ -143,7 +143,7 @@ but the minimum number of workers will be guaranteed.
+Defined in src/worker/abstract-worker.ts:61
Protected
Readonly
opts
@@ -151,7 +151,7 @@ but the minimum number of workers will be guaranteed.
+Defined in src/worker/abstract-worker.ts:62
Protected
task Functions
@@ -159,7 +159,7 @@ but the minimum number of workers will be guaranteed.
+Defined in src/worker/abstract-worker.ts:37
+Defined in src/worker/abstract-worker.ts:165
+Defined in src/worker/cluster-worker.ts:55
Protected
message Listener
+Defined in src/worker/abstract-worker.ts:141
+Defined in src/worker/abstract-worker.ts:240
+Defined in src/worker/abstract-worker.ts:207
Protected
send To Main Worker
+Defined in src/worker/cluster-worker.ts:50
trigger Async Id
diff --git a/docs/classes/DynamicClusterPool.html b/docs/classes/DynamicClusterPool.html
index 0dc55835..986dfb2d 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:15
@@ -133,7 +133,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
@@ -150,7 +150,7 @@ When the maximum number of workers is reached and workers are busy, an event is
+Defined in src/pools/abstract-pool.ts:47
Protected
Readonly
file Path
file Path : string
@@ -158,14 +158,14 @@ When the maximum number of workers is reached and workers are busy, an event is
+Defined in src/pools/abstract-pool.ts:82
Protected
Readonly
max
max : number
+Defined in src/pools/cluster/dynamic.ts:29
Protected
Readonly
number Of Workers
number Of Workers : number
@@ -173,7 +173,7 @@ When the maximum number of workers is reached and workers are busy, an event is
+Defined in src/pools/abstract-pool.ts:81
Protected
Readonly
opts
@@ -181,7 +181,7 @@ When the maximum number of workers is reached and workers are busy, an event is
+Defined in src/pools/cluster/fixed.ts:57
Protected
promise Response Map
@@ -194,7 +194,7 @@ When the maximum number of workers is reached and workers are busy, an event is
+Defined in src/pools/abstract-pool.ts:57
Protected
worker Choice Strategy Context
@@ -203,7 +203,7 @@ When the maximum number of workers is reached and workers are busy, an event is
+Defined in src/pools/abstract-pool.ts:67
Readonly
worker Nodes
@@ -211,7 +211,7 @@ When the maximum number of workers is reached and workers are busy, an event is
+Defined in src/pools/abstract-pool.ts:44
Accessors
@@ -225,7 +225,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:47
+Defined in src/pools/abstract-pool.ts:360
+Defined in src/pools/abstract-pool.ts:215
+Defined in src/pools/cluster/dynamic.ts:42
+Defined in src/pools/cluster/fixed.ts:113
+Defined in src/pools/cluster/dynamic.ts:37
+Defined in src/pools/cluster/fixed.ts:108
Protected
after Worker Setup
+Defined in src/pools/cluster/fixed.ts:97
Protected
before Task Execution Hook
+Defined in src/pools/abstract-pool.ts:453
Protected
choose Worker Node
+Defined in src/pools/abstract-pool.ts:532
Protected
create And Setup Worker
+Defined in src/pools/abstract-pool.ts:596
+Defined in src/pools/cluster/fixed.ts:92
+Defined in src/pools/abstract-pool.ts:415
+Defined in src/pools/cluster/fixed.ts:73
+Defined in src/pools/abstract-pool.ts:325
+Defined in src/pools/abstract-pool.ts:380
+Defined in src/pools/abstract-pool.ts:371
+Defined in src/pools/cluster/fixed.ts:68
Protected
register Worker Message Listener
+Defined in src/pools/cluster/fixed.ts:84
+Defined in src/pools/cluster/fixed.ts:79
+Defined in src/pools/abstract-pool.ts:337
+Defined in src/pools/abstract-pool.ts:284
set Worker Choice Strategy Options
+Defined in src/pools/abstract-pool.ts:314
+Defined in src/pools/cluster/fixed.ts:63
Protected
worker Listener
@@ -642,7 +642,7 @@ Can be overridden
+Defined in src/pools/abstract-pool.ts:629
+Defined in src/pools/abstract-pool.ts:81
Protected
Readonly
opts
@@ -181,7 +181,7 @@ When the maximum number of threads is reached and workers are busy, an event is
+Defined in src/pools/abstract-pool.ts:83
Protected
promise Response Map
@@ -194,7 +194,7 @@ When the maximum number of threads is reached and workers are busy, an event is
+Defined in src/pools/abstract-pool.ts:57
Protected
worker Choice Strategy Context
@@ -203,7 +203,7 @@ When the maximum number of threads is reached and workers are busy, an event is
+Defined in src/pools/abstract-pool.ts:67
Readonly
worker Nodes
@@ -211,7 +211,7 @@ When the maximum number of threads is reached and workers are busy, an event is
+Defined in src/pools/abstract-pool.ts:44
Accessors
@@ -225,7 +225,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:47
+Defined in src/pools/abstract-pool.ts:360
+Defined in src/pools/abstract-pool.ts:215
+Defined in src/pools/thread/dynamic.ts:42
+Defined in src/pools/thread/fixed.ts:110
+Defined in src/pools/thread/dynamic.ts:37
+Defined in src/pools/thread/fixed.ts:105
Protected
after Worker Setup
+Defined in src/pools/thread/fixed.ts:90
Protected
before Task Execution Hook
+Defined in src/pools/abstract-pool.ts:453
Protected
choose Worker Node
+Defined in src/pools/abstract-pool.ts:532
Protected
create And Setup Worker
+Defined in src/pools/abstract-pool.ts:596
+Defined in src/pools/thread/fixed.ts:83
+Defined in src/pools/abstract-pool.ts:415
+Defined in src/pools/thread/fixed.ts:59
+Defined in src/pools/abstract-pool.ts:325
+Defined in src/pools/abstract-pool.ts:380
+Defined in src/pools/abstract-pool.ts:371
+Defined in src/pools/thread/fixed.ts:54
Protected
register Worker Message Listener
+Defined in src/pools/thread/fixed.ts:75
+Defined in src/pools/thread/fixed.ts:67
+Defined in src/pools/abstract-pool.ts:337
+Defined in src/pools/abstract-pool.ts:284
set Worker Choice Strategy Options
+Defined in src/pools/abstract-pool.ts:314
+Defined in src/pools/abstract-pool.ts:438
Protected
worker Listener
@@ -642,7 +642,7 @@ Can be overridden
+Defined in src/pools/abstract-pool.ts:629
+Defined in src/pools/abstract-pool.ts:81
Protected
Readonly
opts
@@ -171,7 +171,7 @@
+Defined in src/pools/cluster/fixed.ts:57
Protected
promise Response Map
@@ -184,7 +184,7 @@
+Defined in src/pools/abstract-pool.ts:57
Protected
worker Choice Strategy Context
@@ -193,7 +193,7 @@
+Defined in src/pools/abstract-pool.ts:67
Readonly
worker Nodes
@@ -201,7 +201,7 @@
+Defined in src/pools/abstract-pool.ts:44
+Defined in src/pools/abstract-pool.ts:360
+Defined in src/pools/abstract-pool.ts:215
+Defined in src/pools/cluster/fixed.ts:118
+Defined in src/pools/cluster/fixed.ts:113
+Defined in src/pools/cluster/fixed.ts:103
+Defined in src/pools/cluster/fixed.ts:108
Protected
after Worker Setup
+Defined in src/pools/cluster/fixed.ts:97
Protected
before Task Execution Hook
+Defined in src/pools/abstract-pool.ts:453
Protected
choose Worker Node
+Defined in src/pools/abstract-pool.ts:532
Protected
create And Setup Worker
+Defined in src/pools/abstract-pool.ts:596
+Defined in src/pools/cluster/fixed.ts:92
+Defined in src/pools/abstract-pool.ts:415
+Defined in src/pools/cluster/fixed.ts:73
+Defined in src/pools/abstract-pool.ts:325
+Defined in src/pools/abstract-pool.ts:380
+Defined in src/pools/abstract-pool.ts:371
+Defined in src/pools/cluster/fixed.ts:68
Protected
register Worker Message Listener
+Defined in src/pools/cluster/fixed.ts:84
+Defined in src/pools/cluster/fixed.ts:79
+Defined in src/pools/abstract-pool.ts:337
+Defined in src/pools/abstract-pool.ts:284
set Worker Choice Strategy Options
+Defined in src/pools/abstract-pool.ts:314
+Defined in src/pools/cluster/fixed.ts:63
Protected
worker Listener
@@ -632,7 +632,7 @@ Can be overridden
+Defined in src/pools/abstract-pool.ts:629
+Defined in src/pools/abstract-pool.ts:81
Protected
Readonly
opts
@@ -171,7 +171,7 @@
+Defined in src/pools/abstract-pool.ts:83
Protected
promise Response Map
@@ -184,7 +184,7 @@
+Defined in src/pools/abstract-pool.ts:57
Protected
worker Choice Strategy Context
@@ -193,7 +193,7 @@
+Defined in src/pools/abstract-pool.ts:67
Readonly
worker Nodes
@@ -201,7 +201,7 @@
+Defined in src/pools/abstract-pool.ts:44
+Defined in src/pools/abstract-pool.ts:360
+Defined in src/pools/abstract-pool.ts:215
+Defined in src/pools/thread/fixed.ts:115
+Defined in src/pools/thread/fixed.ts:110
+Defined in src/pools/thread/fixed.ts:100
+Defined in src/pools/thread/fixed.ts:105
Protected
after Worker Setup
+Defined in src/pools/thread/fixed.ts:90
Protected
before Task Execution Hook
+Defined in src/pools/abstract-pool.ts:453
Protected
choose Worker Node
+Defined in src/pools/abstract-pool.ts:532
Protected
create And Setup Worker
+Defined in src/pools/abstract-pool.ts:596
+Defined in src/pools/thread/fixed.ts:83
+Defined in src/pools/abstract-pool.ts:415
+Defined in src/pools/thread/fixed.ts:59
+Defined in src/pools/abstract-pool.ts:325
+Defined in src/pools/abstract-pool.ts:380
+Defined in src/pools/abstract-pool.ts:371
+Defined in src/pools/thread/fixed.ts:54
Protected
register Worker Message Listener
+Defined in src/pools/thread/fixed.ts:75
+Defined in src/pools/thread/fixed.ts:67
+Defined in src/pools/abstract-pool.ts:337
+Defined in src/pools/abstract-pool.ts:284
set Worker Choice Strategy Options
+Defined in src/pools/abstract-pool.ts:314
+Defined in src/pools/abstract-pool.ts:438
Protected
worker Listener
@@ -632,7 +632,7 @@ Can be overridden
+Defined in src/pools/abstract-pool.ts:629
+Defined in src/worker/abstract-worker.ts:41
Protected
main Worker
main Worker : undefined | null | MessagePort
@@ -143,7 +143,7 @@ but the minimum number of workers will be guaranteed.
+Defined in src/worker/abstract-worker.ts:61
Protected
Readonly
opts
@@ -151,7 +151,7 @@ but the minimum number of workers will be guaranteed.
+Defined in src/worker/abstract-worker.ts:62
Protected
task Functions
@@ -159,7 +159,7 @@ but the minimum number of workers will be guaranteed.
+Defined in src/worker/abstract-worker.ts:37
+Defined in src/worker/abstract-worker.ts:165
+Defined in src/worker/abstract-worker.ts:197
Protected
message Listener
+Defined in src/worker/abstract-worker.ts:141
+Defined in src/worker/abstract-worker.ts:240
+Defined in src/worker/abstract-worker.ts:207
Protected
send To Main Worker
+Defined in src/worker/thread-worker.ts:50
trigger Async Id
diff --git a/docs/classes/WorkerChoiceStrategyContext.html b/docs/classes/WorkerChoiceStrategyContext.html
index efb3d160..b1c5224e 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:25
+Defined in src/pools/selection-strategies/worker-choice-strategy-context.ts:42
Private
worker Choice Strategy
worker Choice Strategy : "ROUND_ROBIN" | "LEAST_USED" | "LEAST_BUSY" | "FAIR_SHARE" | "WEIGHTED_ROUND_ROBIN" | "INTERLEAVED_WEIGHTED_ROUND_ROBIN" = WorkerChoiceStrategies.ROUND_ROBIN
+Defined in src/pools/selection-strategies/worker-choice-strategy-context.ts:44
get Required Statistics
@@ -137,7 +137,7 @@
The required statistics.
+Defined in src/pools/selection-strategies/worker-choice-strategy-context.ts:104
remove
@@ -155,7 +155,7 @@
Returns boolean true
if the removal is successful, false
otherwise.
+Defined in src/pools/selection-strategies/worker-choice-strategy-context.ts:163
+Defined in src/pools/selection-strategies/worker-choice-strategy-context.ts:176
set Worker Choice Strategy
Returns void
+Defined in src/pools/selection-strategies/worker-choice-strategy-context.ts:117
update
@@ -205,7 +205,7 @@
Returns boolean true
if the update is successful, false
otherwise.
+Defined in src/pools/selection-strategies/worker-choice-strategy-context.ts:131
+Defined in src/pools/cluster/fixed.ts:22
Optional
error Handler
@@ -84,7 +84,7 @@
+Defined in src/pools/pool.ts:108
Optional
exit Handler
@@ -92,7 +92,7 @@
+Defined in src/pools/pool.ts:116
Optional
message Handler
@@ -100,7 +100,7 @@
+Defined in src/pools/pool.ts:104
Optional
online Handler
@@ -108,7 +108,7 @@
+Defined in src/pools/pool.ts:112
Optional
restart Worker On Error
restart Worker On Error ?: boolean
@@ -116,7 +116,7 @@
+Defined in src/pools/pool.ts:130
+Defined in src/pools/cluster/fixed.ts:28
Optional
tasks Queue Options
@@ -133,7 +133,7 @@
+Defined in src/pools/pool.ts:146
Optional
worker Choice Strategy
worker Choice Strategy ?: "ROUND_ROBIN" | "LEAST_USED" | "LEAST_BUSY" | "FAIR_SHARE" | "WEIGHTED_ROUND_ROBIN" | "INTERLEAVED_WEIGHTED_ROUND_ROBIN"
@@ -143,7 +143,7 @@
+Defined in src/pools/pool.ts:122
Optional
worker Choice Strategy Options
@@ -151,7 +151,7 @@
+Defined in src/pools/pool.ts:126
+Defined in src/pools/pool.ts:179
enable Tasks Queue
enable Tasks Queue : ( ( enable , tasksQueueOptions ? ) => void )
@@ -116,7 +116,7 @@
Returns void
+Defined in src/pools/pool.ts:216
execute
execute : ( ( data ? , name ? ) => Promise < Response > )
@@ -143,14 +143,14 @@
Returns Promise < Response > Promise that will be fulfilled when the task is completed.
+Defined in src/pools/pool.ts:187
+Defined in src/pools/pool.ts:164
set Tasks Queue Options
set Tasks Queue Options : ( ( tasksQueueOptions ) => void )
@@ -172,7 +172,7 @@
Returns void
+Defined in src/pools/pool.ts:225
set Worker Choice Strategy
set Worker Choice Strategy : ( ( workerChoiceStrategy , workerChoiceStrategyOptions ? ) => void )
@@ -198,7 +198,7 @@
Returns void
+Defined in src/pools/pool.ts:198
set Worker Choice Strategy Options
set Worker Choice Strategy Options : ( ( workerChoiceStrategyOptions ) => void )
@@ -220,14 +220,14 @@
Returns void
+Defined in src/pools/pool.ts:207
+Defined in src/pools/pool.ts:168
Returns void
+Defined in src/pools/worker.ts:130
+Defined in src/pools/selection-strategies/selection-strategies-types.ts:108
set Options
set Options : ( ( opts ) => void )
@@ -123,7 +123,7 @@
Returns void
+Defined in src/pools/selection-strategies/selection-strategies-types.ts:133
update
update : ( ( workerNodeKey ) => boolean )
@@ -144,7 +144,7 @@
Returns boolean true
if the update is successful, false
otherwise.
+Defined in src/pools/selection-strategies/selection-strategies-types.ts:114
+Defined in src/pools/worker.ts:43
Optional
Readonly
parent
parent ?: MainWorker
+Defined in src/utility-types.ts:47
Optional
Readonly
run Time
run Time ?: number
+Defined in src/utility-types.ts:39
Optional
Readonly
submission Timestamp
submission Timestamp ?: number
@@ -123,14 +123,14 @@
+Defined in src/pools/worker.ts:51
Optional
Readonly
wait Time
wait Time ?: number
+Defined in src/utility-types.ts:43
+Defined in src/pools/pool.ts:126
Returns void
+Defined in src/utility-types.ts:110
Readonly
worker
worker : Worker
+Defined in src/utility-types.ts:118
+Defined in src/pools/worker.ts:28
+Defined in src/pools/worker.ts:23
Path to the worker file.