From 86f5c6c11d0a262b6514b95928b2534eecc37a4e Mon Sep 17 00:00:00 2001
From: "github-actions[bot]"
<41898282+github-actions[bot]@users.noreply.github.com>
Date: Thu, 4 May 2023 22:17:30 +0000
Subject: [PATCH] chore: generate documentation
---
docs/classes/AbstractPool.html | 108 +++++++++---------
docs/classes/AbstractWorker.html | 44 +++----
docs/classes/CircularArray.html | 22 ++--
docs/classes/ClusterWorker.html | 40 +++----
docs/classes/DynamicClusterPool.html | 68 +++++------
docs/classes/DynamicThreadPool.html | 68 +++++------
docs/classes/FixedClusterPool.html | 66 +++++------
docs/classes/FixedThreadPool.html | 66 +++++------
docs/classes/PoolEmitter.html | 54 ++++-----
docs/classes/ThreadWorker.html | 40 +++----
docs/classes/WorkerChoiceStrategyContext.html | 18 +--
docs/enums/PoolType.html | 6 +-
docs/interfaces/ClusterPoolOptions.html | 24 ++--
docs/interfaces/IPool.html | 20 ++--
docs/interfaces/IWorker.html | 6 +-
docs/interfaces/IWorkerChoiceStrategy.html | 12 +-
docs/interfaces/MessageValue.html | 14 +--
docs/interfaces/PoolOptions.html | 20 ++--
docs/interfaces/PromiseResponseWrapper.html | 8 +-
docs/interfaces/RequiredStatistics.html | 8 +-
docs/interfaces/Task.html | 6 +-
docs/interfaces/TasksQueueOptions.html | 4 +-
docs/interfaces/TasksUsage.html | 16 +--
.../WorkerChoiceStrategyOptions.html | 4 +-
docs/interfaces/WorkerNode.html | 10 +-
docs/interfaces/WorkerOptions.html | 8 +-
docs/types/Draft.html | 2 +-
docs/types/ErrorHandler.html | 2 +-
docs/types/ExitHandler.html | 2 +-
docs/types/KillBehavior.html | 2 +-
docs/types/MessageHandler.html | 2 +-
docs/types/OnlineHandler.html | 2 +-
docs/types/PoolEvent.html | 2 +-
.../types/ThreadWorkerWithMessageChannel.html | 2 +-
docs/types/WorkerAsyncFunction.html | 2 +-
docs/types/WorkerChoiceStrategy.html | 2 +-
docs/types/WorkerFunction.html | 2 +-
docs/types/WorkerSyncFunction.html | 2 +-
docs/variables/KillBehaviors.html | 2 +-
docs/variables/PoolEvents.html | 2 +-
docs/variables/WorkerChoiceStrategies.html | 2 +-
41 files changed, 395 insertions(+), 395 deletions(-)
diff --git a/docs/classes/AbstractPool.html b/docs/classes/AbstractPool.html
index 2377e5ef..c0dd907c 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:34
@@ -150,7 +150,7 @@
Returns AbstractPool < Worker , Data , Response >
+Defined in src/pools/abstract-pool.ts:76
Readonly
file Path
file Path : string
+Defined in src/pools/abstract-pool.ts:78
Readonly
number Of Workers
number Of Workers : number
+Defined in src/pools/abstract-pool.ts:77
+Defined in src/pools/abstract-pool.ts:79
Protected
promise Response Map
@@ -198,7 +198,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:53
Protected
worker Choice Strategy Context
@@ -206,7 +206,7 @@
Default to a round robin algorithm.
+Defined in src/pools/abstract-pool.ts:63
Readonly
worker Nodes
@@ -214,7 +214,7 @@
+Defined in src/pools/abstract-pool.ts:40
Protected
Abstract
full
@@ -238,7 +238,7 @@
Returns boolean
+Defined in src/pools/abstract-pool.ts:290
Private
number Of Queued Tasks
@@ -248,7 +248,7 @@
Returns number
+Defined in src/pools/abstract-pool.ts:196
Private
number Of Running Tasks
@@ -258,7 +258,7 @@
Returns number
+Defined in src/pools/abstract-pool.ts:186
+Defined in src/pools/abstract-pool.ts:181
Protected
Abstract
after Worker Setup
@@ -312,7 +312,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:475
Protected
before Task Execution Hook
@@ -330,7 +330,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:376
Private
build Tasks Queue Options
@@ -343,7 +343,7 @@ Can be overridden.
+Defined in src/pools/abstract-pool.ts:277
Private
check And Emit Events
@@ -351,7 +351,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:533
Private
check File Path
@@ -364,7 +364,7 @@ Can be overridden.
filePath : string
Returns void
+Defined in src/pools/abstract-pool.ts:113
Private
check Number Of Workers
@@ -377,7 +377,7 @@ Can be overridden.
numberOfWorkers : number
Returns void
+Defined in src/pools/abstract-pool.ts:122
Private
check Pool Options
@@ -390,7 +390,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:140
Private
check Valid Tasks Queue Options
@@ -403,7 +403,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:168
Private
check Valid Worker Choice Strategy
@@ -416,7 +416,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:158
Protected
choose Worker Node
@@ -428,7 +428,7 @@ Can be overridden.
Returns [ number , WorkerNode < Worker , Data > ] [worker node key, worker node].
+Defined in src/pools/abstract-pool.ts:420
Protected
create And Setup Worker
@@ -439,7 +439,7 @@ Can be overridden.
Returns Worker New, completely set up worker.
+Defined in src/pools/abstract-pool.ts:482
Protected
Abstract
create Worker
@@ -449,7 +449,7 @@ Can be overridden.
Returns Worker
+Defined in src/pools/abstract-pool.ts:466
Private
dequeue Task
@@ -462,7 +462,7 @@ Can be overridden.
workerNodeKey : number
Returns undefined | Task < Data >
+Defined in src/pools/abstract-pool.ts:635
+Defined in src/pools/abstract-pool.ts:339
Protected
Abstract
destroy Worker
@@ -490,7 +490,7 @@ Can be overridden.
Returns void | Promise < void >
+Defined in src/pools/abstract-pool.ts:353
+Defined in src/pools/abstract-pool.ts:255
Private
enqueue Task
@@ -527,7 +527,7 @@ Can be overridden.
task : Task < Data >
Returns number
+Defined in src/pools/abstract-pool.ts:631
+Defined in src/pools/abstract-pool.ts:308
Private
execute Task
@@ -561,7 +561,7 @@ Can be overridden.
task : Task < Data >
Returns void
+Defined in src/pools/abstract-pool.ts:626
Private
flush Tasks Queue
@@ -574,7 +574,7 @@ Can be overridden.
workerNodeKey : number
Returns void
+Defined in src/pools/abstract-pool.ts:643
Private
flush Tasks Queue By Worker
@@ -587,7 +587,7 @@ Can be overridden.
worker : Worker
Returns void
+Defined in src/pools/abstract-pool.ts:654
Private
flush Tasks Queues
@@ -595,7 +595,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:659
Private
get Worker Node Key
@@ -613,7 +613,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:212
Private
get Worker Tasks Usage
@@ -633,7 +633,7 @@ Can be overridden.
The worker tasks usage.
+Defined in src/pools/abstract-pool.ts:564
Protected
internal Busy
@@ -641,7 +641,7 @@ Can be overridden.
Returns boolean
+Defined in src/pools/abstract-pool.ts:299
Protected
Abstract
is Main
@@ -651,7 +651,7 @@ Can be overridden.
Returns boolean
+Defined in src/pools/abstract-pool.ts:368
Private
push Worker Node
@@ -669,7 +669,7 @@ Can be overridden.
Returns number The worker nodes length.
+Defined in src/pools/abstract-pool.ts:578
Protected
Abstract
register Worker Message Listener
@@ -706,7 +706,7 @@ Can be overridden.
Returns void
Returns void
+Defined in src/pools/abstract-pool.ts:459
Private
remove Worker Node
@@ -723,7 +723,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:620
Protected
Abstract
send To Worker
@@ -744,7 +744,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:448
+Defined in src/pools/abstract-pool.ts:267
+Defined in src/pools/abstract-pool.ts:219
set Worker Choice Strategy Options
+Defined in src/pools/abstract-pool.ts:245
Private
set Worker Node
@@ -826,12 +826,12 @@ Can be overridden.
-tasksQueue : Task < Data > []
+tasksQueue : Queue < Task < Data > >
Returns void
+Defined in src/pools/abstract-pool.ts:602
Private
set Worker Node Tasks Usage
@@ -852,7 +852,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:550
Protected
setup Hook
@@ -863,7 +863,7 @@ Can be overridden
Returns void
+Defined in src/pools/abstract-pool.ts:361
Private
tasks Queue Size
@@ -876,7 +876,7 @@ Can be overridden
workerNodeKey : number
Returns number
+Defined in src/pools/abstract-pool.ts:639
+Defined in src/pools/abstract-pool.ts:505
Returns void
+Defined in src/worker/abstract-worker.ts:95
Private
check Worker Options
@@ -240,7 +240,7 @@ the AsyncResource
to which the function is bound.
Returns void
+Defined in src/worker/abstract-worker.ts:83
+Defined in node_modules/.pnpm/@types+node@18.16.3/node_modules/@types/node/async_hooks.d.ts:311
+Defined in src/worker/abstract-worker.ts:139
Protected
handle Error
@@ -284,7 +284,7 @@ never be called.
Returns string Message of the error.
+Defined in src/worker/abstract-worker.ts:171
Protected
message Listener
@@ -305,7 +305,7 @@ never be called.
Returns void
+Defined in src/worker/abstract-worker.ts:113
Protected
run
@@ -326,7 +326,7 @@ never be called.
Returns void
+Defined in src/worker/abstract-worker.ts:181
Protected
run Async
@@ -347,7 +347,7 @@ never be called.
Returns void
+Defined in src/worker/abstract-worker.ts:208
+Defined in node_modules/.pnpm/@types+node@18.16.3/node_modules/@types/node/async_hooks.d.ts:303
Protected
Abstract
send To Main Worker
@@ -415,7 +415,7 @@ then restore the original execution context.
Returns void
+Defined in src/worker/abstract-worker.ts:151
+Defined in node_modules/.pnpm/@types+node@18.16.3/node_modules/@types/node/async_hooks.d.ts:320
+Defined in node_modules/.pnpm/@types+node@18.16.3/node_modules/@types/node/async_hooks.d.ts:273
+Defined in src/worker/abstract-worker.ts:36
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
Methods
@@ -163,7 +163,7 @@ but the minimum number of workers will be guaranteed.
+Defined in node_modules/.pnpm/@types+node@18.16.3/node_modules/@types/node/async_hooks.d.ts:315
+Defined in node_modules/.pnpm/@types+node@18.16.3/node_modules/@types/node/async_hooks.d.ts:288
+Defined in src/worker/abstract-worker.ts:156
+Defined in node_modules/.pnpm/@types+node@18.16.3/node_modules/@types/node/async_hooks.d.ts:311
+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:113
+Defined in src/worker/abstract-worker.ts:181
+Defined in src/worker/abstract-worker.ts:208
+Defined in node_modules/.pnpm/@types+node@18.16.3/node_modules/@types/node/async_hooks.d.ts:303
Protected
send To Main Worker
+Defined in src/worker/cluster-worker.ts:45
+Defined in node_modules/.pnpm/@types+node@18.16.3/node_modules/@types/node/async_hooks.d.ts:320
+Defined in node_modules/.pnpm/@types+node@18.16.3/node_modules/@types/node/async_hooks.d.ts:273
+Defined in src/pools/abstract-pool.ts:77
Readonly
opts
@@ -177,7 +177,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
@@ -190,7 +190,7 @@ When the maximum number of workers is reached and workers are busy, an event is
+Defined in src/pools/abstract-pool.ts:53
Protected
worker Choice Strategy Context
@@ -199,7 +199,7 @@ When the maximum number of workers is reached and workers are busy, an event is
+Defined in src/pools/abstract-pool.ts:63
Readonly
worker Nodes
@@ -207,7 +207,7 @@ When the maximum number of workers is reached and workers are busy, an event is
+Defined in src/pools/abstract-pool.ts:40
Accessors
@@ -221,7 +221,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:196
Private
number Of Running Tasks
+Defined in src/pools/abstract-pool.ts:186
+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:376
Protected
choose Worker Node
+Defined in src/pools/abstract-pool.ts:420
Protected
create And Setup Worker
+Defined in src/pools/abstract-pool.ts:482
+Defined in src/pools/cluster/fixed.ts:88
+Defined in src/pools/abstract-pool.ts:339
+Defined in src/pools/cluster/fixed.ts:69
+Defined in src/pools/abstract-pool.ts:255
+Defined in src/pools/abstract-pool.ts:308
+Defined in src/pools/abstract-pool.ts:299
+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:267
+Defined in src/pools/abstract-pool.ts:219
set Worker Choice Strategy Options
+Defined in src/pools/abstract-pool.ts:245
+Defined in src/pools/cluster/fixed.ts:59
Protected
worker Listener
@@ -612,7 +612,7 @@ Can be overridden
+Defined in src/pools/abstract-pool.ts:505
+Defined in src/pools/abstract-pool.ts:77
Readonly
opts
@@ -177,7 +177,7 @@ When the maximum number of threads is reached and workers are busy, an event is
+Defined in src/pools/abstract-pool.ts:79
Protected
promise Response Map
@@ -190,7 +190,7 @@ When the maximum number of threads is reached and workers are busy, an event is
+Defined in src/pools/abstract-pool.ts:53
Protected
worker Choice Strategy Context
@@ -199,7 +199,7 @@ When the maximum number of threads is reached and workers are busy, an event is
+Defined in src/pools/abstract-pool.ts:63
Readonly
worker Nodes
@@ -207,7 +207,7 @@ When the maximum number of threads is reached and workers are busy, an event is
+Defined in src/pools/abstract-pool.ts:40
Accessors
@@ -221,7 +221,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:196
Private
number Of Running Tasks
+Defined in src/pools/abstract-pool.ts:186
+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:376
Protected
choose Worker Node
+Defined in src/pools/abstract-pool.ts:420
Protected
create And Setup Worker
+Defined in src/pools/abstract-pool.ts:482
+Defined in src/pools/thread/fixed.ts:78
+Defined in src/pools/abstract-pool.ts:339
+Defined in src/pools/thread/fixed.ts:54
+Defined in src/pools/abstract-pool.ts:255
+Defined in src/pools/abstract-pool.ts:308
+Defined in src/pools/abstract-pool.ts:299
+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:267
+Defined in src/pools/abstract-pool.ts:219
set Worker Choice Strategy Options
+Defined in src/pools/abstract-pool.ts:245
+Defined in src/pools/abstract-pool.ts:361
Protected
worker Listener
@@ -612,7 +612,7 @@ Can be overridden
+Defined in src/pools/abstract-pool.ts:505
+Defined in src/pools/abstract-pool.ts:77
Readonly
opts
@@ -167,7 +167,7 @@
+Defined in src/pools/cluster/fixed.ts:53
Protected
promise Response Map
@@ -180,7 +180,7 @@
+Defined in src/pools/abstract-pool.ts:53
Protected
worker Choice Strategy Context
@@ -189,7 +189,7 @@
+Defined in src/pools/abstract-pool.ts:63
Readonly
worker Nodes
@@ -197,7 +197,7 @@
+Defined in src/pools/abstract-pool.ts:40
+Defined in src/pools/cluster/fixed.ts:104
Private
number Of Queued Tasks
+Defined in src/pools/abstract-pool.ts:196
Private
number Of Running Tasks
+Defined in src/pools/abstract-pool.ts:186
+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:376
Protected
choose Worker Node
+Defined in src/pools/abstract-pool.ts:420
Protected
create And Setup Worker
+Defined in src/pools/abstract-pool.ts:482
+Defined in src/pools/cluster/fixed.ts:88
+Defined in src/pools/abstract-pool.ts:339
+Defined in src/pools/cluster/fixed.ts:69
+Defined in src/pools/abstract-pool.ts:255
+Defined in src/pools/abstract-pool.ts:308
+Defined in src/pools/abstract-pool.ts:299
+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:267
+Defined in src/pools/abstract-pool.ts:219
set Worker Choice Strategy Options
+Defined in src/pools/abstract-pool.ts:245
+Defined in src/pools/cluster/fixed.ts:59
Protected
worker Listener
@@ -602,7 +602,7 @@ Can be overridden
+Defined in src/pools/abstract-pool.ts:505
+Defined in src/pools/abstract-pool.ts:77
Readonly
opts
@@ -167,7 +167,7 @@
+Defined in src/pools/abstract-pool.ts:79
Protected
promise Response Map
@@ -180,7 +180,7 @@
+Defined in src/pools/abstract-pool.ts:53
Protected
worker Choice Strategy Context
@@ -189,7 +189,7 @@
+Defined in src/pools/abstract-pool.ts:63
Readonly
worker Nodes
@@ -197,7 +197,7 @@
+Defined in src/pools/abstract-pool.ts:40
+Defined in src/pools/thread/fixed.ts:100
Private
number Of Queued Tasks
+Defined in src/pools/abstract-pool.ts:196
Private
number Of Running Tasks
+Defined in src/pools/abstract-pool.ts:186
+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:376
Protected
choose Worker Node
+Defined in src/pools/abstract-pool.ts:420
Protected
create And Setup Worker
+Defined in src/pools/abstract-pool.ts:482
+Defined in src/pools/thread/fixed.ts:78
+Defined in src/pools/abstract-pool.ts:339
+Defined in src/pools/thread/fixed.ts:54
+Defined in src/pools/abstract-pool.ts:255
+Defined in src/pools/abstract-pool.ts:308
+Defined in src/pools/abstract-pool.ts:299
+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:267
+Defined in src/pools/abstract-pool.ts:219
set Worker Choice Strategy Options
+Defined in src/pools/abstract-pool.ts:245
+Defined in src/pools/abstract-pool.ts:361
Protected
worker Listener
@@ -602,7 +602,7 @@ Can be overridden
+Defined in src/pools/abstract-pool.ts:505
+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
Methods
@@ -163,7 +163,7 @@ but the minimum number of workers will be guaranteed.
+Defined in node_modules/.pnpm/@types+node@18.16.3/node_modules/@types/node/async_hooks.d.ts:315
+Defined in node_modules/.pnpm/@types+node@18.16.3/node_modules/@types/node/async_hooks.d.ts:288
+Defined in src/worker/abstract-worker.ts:156
+Defined in node_modules/.pnpm/@types+node@18.16.3/node_modules/@types/node/async_hooks.d.ts:311
+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:113
+Defined in src/worker/abstract-worker.ts:181
+Defined in src/worker/abstract-worker.ts:208
+Defined in node_modules/.pnpm/@types+node@18.16.3/node_modules/@types/node/async_hooks.d.ts:303
Protected
send To Main Worker
+Defined in src/worker/thread-worker.ts:39
+Defined in node_modules/.pnpm/@types+node@18.16.3/node_modules/@types/node/async_hooks.d.ts:320
+Defined in node_modules/.pnpm/@types+node@18.16.3/node_modules/@types/node/async_hooks.d.ts:273
Returns void
+Defined in src/pools/selection-strategies/worker-choice-strategy-context.ts:149
set Worker Choice Strategy
Returns void
+Defined in src/pools/selection-strategies/worker-choice-strategy-context.ts:108
+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
enable Tasks Queue : ( ( enable , tasksQueueOptions ? ) => void )
@@ -114,7 +114,7 @@
Returns void
+Defined in src/pools/pool.ts:178
execute
execute : ( ( data ? ) => Promise < Response > )
@@ -137,7 +137,7 @@
Returns Promise < Response > Promise that will be fulfilled when the task is completed.
+Defined in src/pools/pool.ts:149
set Tasks Queue Options
set Tasks Queue Options : ( ( tasksQueueOptions ) => void )
@@ -159,7 +159,7 @@
Returns void
+Defined in src/pools/pool.ts:187
set Worker Choice Strategy
set Worker Choice Strategy : ( ( workerChoiceStrategy , workerChoiceStrategyOptions ? ) => void )
@@ -185,7 +185,7 @@
Returns void
+Defined in src/pools/pool.ts:160
set Worker Choice Strategy Options
set Worker Choice Strategy Options : ( ( workerChoiceStrategyOptions ) => void )
@@ -207,7 +207,7 @@
Returns void
+Defined in src/pools/pool.ts:169
Readonly
type
@@ -215,14 +215,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:106
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
set Options : ( ( opts ) => void )
@@ -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.