From 6c7727ff79d651547ca10f44504d61e5073f07da Mon Sep 17 00:00:00 2001
From: "github-actions[bot]"
<41898282+github-actions[bot]@users.noreply.github.com>
Date: Tue, 9 May 2023 12:38:34 +0000
Subject: [PATCH] chore: generate documentation
---
docs/classes/AbstractPool.html | 106 +++++++++---------
docs/classes/AbstractWorker.html | 48 ++++----
docs/classes/CircularArray.html | 22 ++--
docs/classes/ClusterWorker.html | 42 +++----
docs/classes/DynamicClusterPool.html | 70 ++++++------
docs/classes/DynamicThreadPool.html | 70 ++++++------
docs/classes/FixedClusterPool.html | 68 +++++------
docs/classes/FixedThreadPool.html | 68 +++++------
docs/classes/PoolEmitter.html | 54 ++++-----
docs/classes/Queue.html | 18 +--
docs/classes/ThreadWorker.html | 42 +++----
docs/classes/WorkerChoiceStrategyContext.html | 20 ++--
docs/enums/PoolType.html | 6 +-
docs/interfaces/ClusterPoolOptions.html | 24 ++--
docs/interfaces/IPool.html | 22 ++--
docs/interfaces/IWorker.html | 6 +-
docs/interfaces/IWorkerChoiceStrategy.html | 14 +--
docs/interfaces/MessageValue.html | 16 +--
docs/interfaces/PoolOptions.html | 20 ++--
docs/interfaces/PromiseResponseWrapper.html | 8 +-
docs/interfaces/RequiredStatistics.html | 8 +-
docs/interfaces/Task.html | 8 +-
docs/interfaces/TasksQueueOptions.html | 4 +-
docs/interfaces/TasksUsage.html | 16 +--
.../WorkerChoiceStrategyOptions.html | 6 +-
docs/interfaces/WorkerNode.html | 8 +-
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 +-
docs/types/TaskFunctions.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 +-
43 files changed, 417 insertions(+), 417 deletions(-)
diff --git a/docs/classes/AbstractPool.html b/docs/classes/AbstractPool.html
index 9064de67..8d13cb40 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:35
@@ -150,7 +150,7 @@
Returns AbstractPool < Worker , Data , Response >
+Defined in src/pools/abstract-pool.ts:77
Readonly
file Path
file Path : string
+Defined in src/pools/abstract-pool.ts:79
Readonly
number Of Workers
number Of Workers : number
+Defined in src/pools/abstract-pool.ts:78
+Defined in src/pools/abstract-pool.ts:80
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:54
Protected
worker Choice Strategy Context
@@ -206,7 +206,7 @@
Default to a round robin algorithm.
+Defined in src/pools/abstract-pool.ts:64
Readonly
worker Nodes
@@ -214,7 +214,7 @@
+Defined in src/pools/abstract-pool.ts:41
Protected
Abstract
full
@@ -238,7 +238,7 @@
Returns boolean
+Defined in src/pools/abstract-pool.ts:324
Private
number Of Queued Tasks
@@ -248,7 +248,7 @@
Returns number
+Defined in src/pools/abstract-pool.ts:229
Private
number Of Running Tasks
@@ -258,7 +258,7 @@
Returns number
+Defined in src/pools/abstract-pool.ts:219
+Defined in src/pools/abstract-pool.ts:214
+Defined in src/pools/abstract-pool.ts:211
Protected
Abstract
after Worker Setup
@@ -323,7 +323,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:516
Protected
before Task Execution Hook
@@ -341,7 +341,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:412
Private
build Tasks Queue Options
@@ -354,7 +354,7 @@ Can be overridden.
+Defined in src/pools/abstract-pool.ts:311
Private
check And Emit Events
@@ -362,7 +362,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:574
Private
check File Path
@@ -375,7 +375,7 @@ Can be overridden.
filePath : string
Returns void
+Defined in src/pools/abstract-pool.ts:114
Private
check Number Of Workers
@@ -388,7 +388,7 @@ Can be overridden.
numberOfWorkers : number
Returns void
+Defined in src/pools/abstract-pool.ts:123
Private
check Pool Options
@@ -401,7 +401,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:141
Private
check Valid Tasks Queue Options
@@ -414,7 +414,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:195
Private
check Valid Worker Choice Strategy
@@ -427,7 +427,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:167
Private
check Valid Worker Choice Strategy Options
@@ -440,7 +440,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:177
Protected
choose Worker Node
@@ -452,7 +452,7 @@ Can be overridden.
Returns [ number , WorkerNode < Worker , Data > ] [worker node key, worker node].
+Defined in src/pools/abstract-pool.ts:460
Protected
create And Setup Worker
@@ -463,7 +463,7 @@ Can be overridden.
Returns Worker New, completely set up worker.
+Defined in src/pools/abstract-pool.ts:523
Protected
Abstract
create Worker
@@ -473,7 +473,7 @@ Can be overridden.
Returns Worker
+Defined in src/pools/abstract-pool.ts:507
Private
dequeue Task
@@ -486,7 +486,7 @@ Can be overridden.
workerNodeKey : number
Returns undefined | Task < Data >
+Defined in src/pools/abstract-pool.ts:661
+Defined in src/pools/abstract-pool.ts:375
Protected
Abstract
destroy Worker
@@ -514,7 +514,7 @@ Can be overridden.
Returns void | Promise < void >
+Defined in src/pools/abstract-pool.ts:389
+Defined in src/pools/abstract-pool.ts:289
Private
enqueue Task
@@ -551,7 +551,7 @@ Can be overridden.
task : Task < Data >
Returns number
+Defined in src/pools/abstract-pool.ts:657
+Defined in src/pools/abstract-pool.ts:342
Private
execute Task
@@ -589,7 +589,7 @@ Can be overridden.
task : Task < Data >
Returns void
+Defined in src/pools/abstract-pool.ts:652
Private
flush Tasks Queue
@@ -602,7 +602,7 @@ Can be overridden.
workerNodeKey : number
Returns void
+Defined in src/pools/abstract-pool.ts:669
Private
flush Tasks Queues
@@ -610,7 +610,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:680
Private
get Worker Node Key
@@ -628,7 +628,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:245
Protected
internal Busy
@@ -636,7 +636,7 @@ Can be overridden.
Returns boolean
+Defined in src/pools/abstract-pool.ts:333
Protected
Abstract
is Main
@@ -646,7 +646,7 @@ Can be overridden.
Returns boolean
+Defined in src/pools/abstract-pool.ts:404
Private
push Worker Node
@@ -664,7 +664,7 @@ Can be overridden.
Returns number The worker nodes length.
+Defined in src/pools/abstract-pool.ts:604
Protected
Abstract
register Worker Message Listener
@@ -701,7 +701,7 @@ Can be overridden.
Returns void
Returns void
+Defined in src/pools/abstract-pool.ts:500
Private
remove Worker Node
@@ -718,7 +718,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:646
Protected
Abstract
send To Worker
@@ -739,7 +739,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:489
+Defined in src/pools/abstract-pool.ts:301
+Defined in src/pools/abstract-pool.ts:252
set Worker Choice Strategy Options
+Defined in src/pools/abstract-pool.ts:278
Private
set Worker Node
@@ -826,7 +826,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:628
Private
set Worker Node Tasks Usage
@@ -847,7 +847,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:591
Protected
setup Hook
@@ -858,7 +858,7 @@ Can be overridden
Returns void
+Defined in src/pools/abstract-pool.ts:397
Private
tasks Queue Size
@@ -871,7 +871,7 @@ Can be overridden
workerNodeKey : number
Returns number
+Defined in src/pools/abstract-pool.ts:665
+Defined in src/pools/abstract-pool.ts:546
Returns void
+Defined in src/worker/abstract-worker.ts:98
Private
check Worker Options
Returns void
+Defined in src/worker/abstract-worker.ts:86
+Defined in node_modules/.pnpm/@types+node@20.1.1/node_modules/@types/node/async_hooks.d.ts:308
+Defined in src/worker/abstract-worker.ts:162
Private
get Task Function
@@ -290,7 +290,7 @@ never be called.
+Defined in src/worker/abstract-worker.ts:261
Protected
handle Error
@@ -308,7 +308,7 @@ never be called.
Returns string Message of the error.
+Defined in src/worker/abstract-worker.ts:194
Protected
message Listener
@@ -325,7 +325,7 @@ never be called.
Returns void
+Defined in src/worker/abstract-worker.ts:138
Protected
run Async
@@ -346,7 +346,7 @@ never be called.
Returns void
+Defined in src/worker/abstract-worker.ts:231
+Defined in node_modules/.pnpm/@types+node@20.1.1/node_modules/@types/node/async_hooks.d.ts:300
Protected
run Sync
@@ -418,7 +418,7 @@ then restore the original execution context.
Returns void
+Defined in src/worker/abstract-worker.ts:204
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:174
+Defined in node_modules/.pnpm/@types+node@20.1.1/node_modules/@types/node/async_hooks.d.ts:317
+Defined in node_modules/.pnpm/@types+node@20.1.1/node_modules/@types/node/async_hooks.d.ts:277
+Defined in src/worker/abstract-worker.ts:42
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:54
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:38
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:58
Protected
Readonly
opts
@@ -151,7 +151,7 @@ but the minimum number of workers will be guaranteed.
+Defined in src/worker/abstract-worker.ts:59
Protected
task Functions
@@ -159,7 +159,7 @@ but the minimum number of workers will be guaranteed.
+Defined in src/worker/abstract-worker.ts:34
Methods
@@ -172,7 +172,7 @@ but the minimum number of workers will be guaranteed.
+Defined in node_modules/.pnpm/@types+node@20.1.1/node_modules/@types/node/async_hooks.d.ts:312
+Defined in node_modules/.pnpm/@types+node@20.1.1/node_modules/@types/node/async_hooks.d.ts:287
+Defined in src/worker/abstract-worker.ts:179
+Defined in node_modules/.pnpm/@types+node@20.1.1/node_modules/@types/node/async_hooks.d.ts:308
+Defined in src/worker/abstract-worker.ts:162
+Defined in src/worker/cluster-worker.ts:56
Protected
message Listener
+Defined in src/worker/abstract-worker.ts:138
+Defined in src/worker/abstract-worker.ts:231
+Defined in node_modules/.pnpm/@types+node@20.1.1/node_modules/@types/node/async_hooks.d.ts:300
+Defined in src/worker/abstract-worker.ts:204
Protected
send To Main Worker
+Defined in src/worker/cluster-worker.ts:51
+Defined in node_modules/.pnpm/@types+node@20.1.1/node_modules/@types/node/async_hooks.d.ts:317
+Defined in node_modules/.pnpm/@types+node@20.1.1/node_modules/@types/node/async_hooks.d.ts:277
+Defined in src/pools/abstract-pool.ts:78
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:54
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:64
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:41
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:53
+Defined in src/pools/cluster/dynamic.ts:48
Private
number Of Queued Tasks
+Defined in src/pools/abstract-pool.ts:229
Private
number Of Running Tasks
+Defined in src/pools/abstract-pool.ts:219
+Defined in src/pools/cluster/dynamic.ts:43
+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:412
Protected
choose Worker Node
+Defined in src/pools/abstract-pool.ts:460
Protected
create And Setup Worker
+Defined in src/pools/abstract-pool.ts:523
+Defined in src/pools/cluster/fixed.ts:88
+Defined in src/pools/abstract-pool.ts:375
+Defined in src/pools/cluster/fixed.ts:69
+Defined in src/pools/abstract-pool.ts:289
+Defined in src/pools/abstract-pool.ts:342
+Defined in src/pools/abstract-pool.ts:333
+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:301
+Defined in src/pools/abstract-pool.ts:252
set Worker Choice Strategy Options
+Defined in src/pools/abstract-pool.ts:278
+Defined in src/pools/cluster/fixed.ts:59
Protected
worker Listener
@@ -628,7 +628,7 @@ Can be overridden
+Defined in src/pools/abstract-pool.ts:546
+Defined in src/pools/abstract-pool.ts:78
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:80
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:54
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:64
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:41
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:54
+Defined in src/pools/thread/dynamic.ts:44
Private
number Of Queued Tasks
+Defined in src/pools/abstract-pool.ts:229
Private
number Of Running Tasks
+Defined in src/pools/abstract-pool.ts:219
+Defined in src/pools/thread/dynamic.ts:49
+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:412
Protected
choose Worker Node
+Defined in src/pools/abstract-pool.ts:460
Protected
create And Setup Worker
+Defined in src/pools/abstract-pool.ts:523
+Defined in src/pools/thread/fixed.ts:78
+Defined in src/pools/abstract-pool.ts:375
+Defined in src/pools/thread/fixed.ts:54
+Defined in src/pools/abstract-pool.ts:289
+Defined in src/pools/abstract-pool.ts:342
+Defined in src/pools/abstract-pool.ts:333
+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:301
+Defined in src/pools/abstract-pool.ts:252
set Worker Choice Strategy Options
+Defined in src/pools/abstract-pool.ts:278
+Defined in src/pools/abstract-pool.ts:397
Protected
worker Listener
@@ -628,7 +628,7 @@ Can be overridden
+Defined in src/pools/abstract-pool.ts:546
+Defined in src/pools/abstract-pool.ts:78
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:54
Protected
worker Choice Strategy Context
@@ -190,7 +190,7 @@
+Defined in src/pools/abstract-pool.ts:64
Readonly
worker Nodes
@@ -198,7 +198,7 @@
+Defined in src/pools/abstract-pool.ts:41
+Defined in src/pools/cluster/fixed.ts:109
Private
number Of Queued Tasks
+Defined in src/pools/abstract-pool.ts:229
Private
number Of Running Tasks
+Defined in src/pools/abstract-pool.ts:219
+Defined in src/pools/cluster/fixed.ts:104
+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:412
Protected
choose Worker Node
+Defined in src/pools/abstract-pool.ts:460
Protected
create And Setup Worker
+Defined in src/pools/abstract-pool.ts:523
+Defined in src/pools/cluster/fixed.ts:88
+Defined in src/pools/abstract-pool.ts:375
+Defined in src/pools/cluster/fixed.ts:69
+Defined in src/pools/abstract-pool.ts:289
+Defined in src/pools/abstract-pool.ts:342
+Defined in src/pools/abstract-pool.ts:333
+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:301
+Defined in src/pools/abstract-pool.ts:252
set Worker Choice Strategy Options
+Defined in src/pools/abstract-pool.ts:278
+Defined in src/pools/cluster/fixed.ts:59
Protected
worker Listener
@@ -618,7 +618,7 @@ Can be overridden
+Defined in src/pools/abstract-pool.ts:546
+Defined in src/pools/abstract-pool.ts:78
Readonly
opts
@@ -168,7 +168,7 @@
+Defined in src/pools/abstract-pool.ts:80
Protected
promise Response Map
@@ -181,7 +181,7 @@
+Defined in src/pools/abstract-pool.ts:54
Protected
worker Choice Strategy Context
@@ -190,7 +190,7 @@
+Defined in src/pools/abstract-pool.ts:64
Readonly
worker Nodes
@@ -198,7 +198,7 @@
+Defined in src/pools/abstract-pool.ts:41
+Defined in src/pools/thread/fixed.ts:105
Private
number Of Queued Tasks
+Defined in src/pools/abstract-pool.ts:229
Private
number Of Running Tasks
+Defined in src/pools/abstract-pool.ts:219
+Defined in src/pools/thread/fixed.ts:100
+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:412
Protected
choose Worker Node
+Defined in src/pools/abstract-pool.ts:460
Protected
create And Setup Worker
+Defined in src/pools/abstract-pool.ts:523
+Defined in src/pools/thread/fixed.ts:78
+Defined in src/pools/abstract-pool.ts:375
+Defined in src/pools/thread/fixed.ts:54
+Defined in src/pools/abstract-pool.ts:289
+Defined in src/pools/abstract-pool.ts:342
+Defined in src/pools/abstract-pool.ts:333
+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:301
+Defined in src/pools/abstract-pool.ts:252
set Worker Choice Strategy Options
+Defined in src/pools/abstract-pool.ts:278
+Defined in src/pools/abstract-pool.ts:397
Protected
worker Listener
@@ -618,7 +618,7 @@ Can be overridden
+Defined in src/pools/abstract-pool.ts:546
+Defined in src/worker/abstract-worker.ts:38
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:58
Protected
Readonly
opts
@@ -151,7 +151,7 @@ but the minimum number of workers will be guaranteed.
+Defined in src/worker/abstract-worker.ts:59
Protected
task Functions
@@ -159,7 +159,7 @@ but the minimum number of workers will be guaranteed.
+Defined in src/worker/abstract-worker.ts:34
Methods
@@ -172,7 +172,7 @@ but the minimum number of workers will be guaranteed.
+Defined in node_modules/.pnpm/@types+node@20.1.1/node_modules/@types/node/async_hooks.d.ts:312
+Defined in node_modules/.pnpm/@types+node@20.1.1/node_modules/@types/node/async_hooks.d.ts:287
+Defined in src/worker/abstract-worker.ts:179
+Defined in node_modules/.pnpm/@types+node@20.1.1/node_modules/@types/node/async_hooks.d.ts:308
+Defined in src/worker/abstract-worker.ts:162
+Defined in src/worker/abstract-worker.ts:194
Protected
message Listener
+Defined in src/worker/abstract-worker.ts:138
+Defined in src/worker/abstract-worker.ts:231
+Defined in node_modules/.pnpm/@types+node@20.1.1/node_modules/@types/node/async_hooks.d.ts:300
+Defined in src/worker/abstract-worker.ts:204
Protected
send To Main Worker
+Defined in src/worker/thread-worker.ts:51
+Defined in node_modules/.pnpm/@types+node@20.1.1/node_modules/@types/node/async_hooks.d.ts:317
+Defined in node_modules/.pnpm/@types+node@20.1.1/node_modules/@types/node/async_hooks.d.ts:277
Returns void
+Defined in src/pools/selection-strategies/worker-choice-strategy-context.ts:167
set Worker Choice Strategy
Returns void
+Defined in src/pools/selection-strategies/worker-choice-strategy-context.ts:108
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:122
+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:146
enable Tasks Queue
enable Tasks Queue : ( ( enable , tasksQueueOptions ? ) => void )
@@ -115,7 +115,7 @@
Returns void
+Defined in src/pools/pool.ts:183
execute
execute : ( ( data ? , name ? ) => Promise < Response > )
@@ -142,7 +142,7 @@
Returns Promise < Response > Promise that will be fulfilled when the task is completed.
+Defined in src/pools/pool.ts:154
set Tasks Queue Options
set Tasks Queue Options : ( ( tasksQueueOptions ) => void )
@@ -164,7 +164,7 @@
Returns void
+Defined in src/pools/pool.ts:192
set Worker Choice Strategy
set Worker Choice Strategy : ( ( workerChoiceStrategy , workerChoiceStrategyOptions ? ) => void )
@@ -190,7 +190,7 @@
Returns void
+Defined in src/pools/pool.ts:165
set Worker Choice Strategy Options
set Worker Choice Strategy Options : ( ( workerChoiceStrategyOptions ) => void )
@@ -212,14 +212,14 @@
Returns void
+Defined in src/pools/pool.ts:174
Readonly
size
size : number
+Defined in src/pools/pool.ts:133
Readonly
type
@@ -227,14 +227,14 @@
If it is 'dynamic'
, it provides the max
property.
+Defined in src/pools/pool.ts:129
+Defined in src/pools/pool.ts:137
Returns void
+Defined in src/pools/worker.ts:110
+Defined in src/pools/selection-strategies/selection-strategies-types.ts:84
set Options
set Options : ( ( opts ) => void )
@@ -123,7 +123,7 @@
Returns void
+Defined in src/pools/selection-strategies/selection-strategies-types.ts:109
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:90
+Defined in src/pools/worker.ts:43
Optional
Readonly
parent
parent ?: MainWorker
+Defined in src/utility-types.ts:39
Optional
Readonly
run Time
run Time ?: number
+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:102
Readonly
worker
worker : Worker
+Defined in src/utility-types.ts:110
+Defined in src/pools/worker.ts:23
Path to the worker file.