From: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Date: Fri, 7 Apr 2023 15:13:21 +0000 (+0000)
Subject: chore: generate documentation
X-Git-Tag: v2.4.4~8
X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=4736ba628fabbf7e34e36ef0f55a96e86b7033ac;p=poolifier.git
chore: generate documentation
---
diff --git a/docs/classes/ClusterWorker.html b/docs/classes/ClusterWorker.html
index 01aec059..d5849cbe 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
@@ -119,7 +119,7 @@ but the minimum number of workers will be guaranteed.
Overrides AbstractWorker<Worker, Data, Response>.constructor
+Defined in src/worker/cluster-worker.ts:31
Protected
Readonly
is Main
is Main: boolean
@@ -137,7 +137,7 @@ but the minimum number of workers will be guaranteed.
+Defined in src/worker/abstract-worker.ts:43
Protected
last Task Timestamp
last Task Timestamp: number
@@ -145,7 +145,7 @@ but the minimum number of workers will be guaranteed.
+Defined in src/worker/abstract-worker.ts:27
Protected
main Worker
main Worker: undefined | null | Worker
@@ -153,7 +153,7 @@ but the minimum number of workers will be guaranteed.
+Defined in src/worker/abstract-worker.ts:45
Protected
Readonly
opts
@@ -161,7 +161,7 @@ but the minimum number of workers will be guaranteed.
+Defined in src/worker/abstract-worker.ts:46
+Defined in src/worker/abstract-worker.ts:121
+Defined in src/worker/cluster-worker.ts:47
Protected
message Listener
+Defined in src/worker/abstract-worker.ts:75
+Defined in src/worker/abstract-worker.ts:163
+Defined in src/worker/abstract-worker.ts:186
+Defined in src/worker/cluster-worker.ts:42
trigger Async Id
diff --git a/docs/classes/DynamicClusterPool.html b/docs/classes/DynamicClusterPool.html
index 6f720e7c..e2e7da26 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
@@ -129,7 +129,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
@@ -139,7 +139,7 @@ When the maximum number of workers is reached and workers are busy, an event is
Inherit Doc
+Defined in src/pools/abstract-pool.ts:32
Readonly
file Path
file Path: string
@@ -147,14 +147,14 @@ When the maximum number of workers is reached and workers are busy, an event is
+Defined in src/pools/abstract-pool.ts:67
Private
Readonly
max
max: number
+Defined in src/pools/cluster/dynamic.ts:30
Readonly
number Of Workers
number Of Workers: number
@@ -162,7 +162,7 @@ When the maximum number of workers is reached and workers are busy, an event is
+Defined in src/pools/abstract-pool.ts:66
Readonly
opts
@@ -170,7 +170,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
promise Response Map: Map < string , PromiseResponseWrapper < Worker , Response > > = ...
@@ -183,7 +183,7 @@ When the maximum number of workers is reached and workers are busy, an event is
+Defined in src/pools/abstract-pool.ts:42
Protected
worker Choice Strategy Context
worker Choice Strategy Context: WorkerChoiceStrategyContext < Worker , Data , Response >
@@ -192,7 +192,7 @@ When the maximum number of workers is reached and workers are busy, an event is
+Defined in src/pools/abstract-pool.ts:52
Readonly
workers
workers: WorkerType < Worker > [] = []
@@ -200,7 +200,7 @@ When the maximum number of workers is reached and workers are busy, an event is
Inherit Doc
+Defined in src/pools/abstract-pool.ts:29
Accessors
@@ -213,7 +213,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 Running Tasks
+Defined in src/pools/abstract-pool.ts:163
+Defined in src/pools/cluster/dynamic.ts:38
Protected
after Worker Setup
+Defined in src/pools/cluster/fixed.ts:93
Protected
before Promise Response Hook
+Defined in src/pools/abstract-pool.ts:270
+Defined in src/pools/abstract-pool.ts:310
Protected
create And Setup Worker
+Defined in src/pools/abstract-pool.ts:356
+Defined in src/pools/cluster/fixed.ts:88
+Defined in src/pools/abstract-pool.ts:233
+Defined in src/pools/cluster/fixed.ts:69
+Defined in src/pools/abstract-pool.ts:217
+Defined in src/pools/abstract-pool.ts:210
+Defined in src/pools/abstract-pool.ts:202
+Defined in src/pools/cluster/fixed.ts:64
register Worker Message Listener
+Defined in src/pools/cluster/fixed.ts:80
+Defined in src/pools/abstract-pool.ts:479
+Defined in src/pools/cluster/fixed.ts:75
+Defined in src/pools/abstract-pool.ts:178
+Defined in src/pools/cluster/fixed.ts:59
Protected
worker Listener
@@ -543,7 +543,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:385
+Defined in src/pools/abstract-pool.ts:67
Private
Readonly
max
max: number
+Defined in src/pools/thread/dynamic.ts:31
Readonly
number Of Workers
number Of Workers: number
@@ -162,7 +162,7 @@ When the maximum number of threads is reached and workers are busy, an event is
+Defined in src/pools/abstract-pool.ts:66
Readonly
opts
@@ -170,7 +170,7 @@ When the maximum number of threads is reached and workers are busy, an event is
+Defined in src/pools/abstract-pool.ts:68
Protected
promise Response Map
@@ -183,7 +183,7 @@ When the maximum number of threads is reached and workers are busy, an event is
+Defined in src/pools/abstract-pool.ts:42
Protected
worker Choice Strategy Context
@@ -192,7 +192,7 @@ When the maximum number of threads is reached and workers are busy, an event is
+Defined in src/pools/abstract-pool.ts:52
Readonly
workers
@@ -200,7 +200,7 @@ When the maximum number of threads is reached and workers are busy, an event is
Inherit Doc
+Defined in src/pools/abstract-pool.ts:29
Accessors
@@ -213,7 +213,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 Running Tasks
+Defined in src/pools/abstract-pool.ts:163
+Defined in src/pools/thread/dynamic.ts:39
Protected
after Worker Setup
+Defined in src/pools/thread/fixed.ts:85
Protected
before Promise Response Hook
+Defined in src/pools/abstract-pool.ts:270
+Defined in src/pools/abstract-pool.ts:310
Protected
create And Setup Worker
+Defined in src/pools/abstract-pool.ts:356
+Defined in src/pools/thread/fixed.ts:78
+Defined in src/pools/abstract-pool.ts:233
+Defined in src/pools/thread/fixed.ts:54
+Defined in src/pools/abstract-pool.ts:217
+Defined in src/pools/abstract-pool.ts:210
+Defined in src/pools/abstract-pool.ts:202
+Defined in src/pools/thread/fixed.ts:49
register Worker Message Listener
+Defined in src/pools/thread/fixed.ts:70
+Defined in src/pools/abstract-pool.ts:479
+Defined in src/pools/thread/fixed.ts:62
+Defined in src/pools/abstract-pool.ts:178
+Defined in src/pools/abstract-pool.ts:255
Protected
worker Listener
@@ -545,7 +545,7 @@ Can be overridden
Returns void
+Defined in src/pools/abstract-pool.ts:385
+Defined in src/pools/abstract-pool.ts:67
Readonly
number Of Workers
number Of Workers: number
@@ -152,7 +152,7 @@
+Defined in src/pools/abstract-pool.ts:66
Readonly
opts
@@ -160,7 +160,7 @@
+Defined in src/pools/cluster/fixed.ts:53
Protected
promise Response Map
promise Response Map: Map < string , PromiseResponseWrapper < Worker , Response > > = ...
@@ -173,7 +173,7 @@
+Defined in src/pools/abstract-pool.ts:42
Protected
worker Choice Strategy Context
worker Choice Strategy Context: WorkerChoiceStrategyContext < Worker , Data , Response >
@@ -182,7 +182,7 @@
+Defined in src/pools/abstract-pool.ts:52
Readonly
workers
workers: WorkerType < Worker > [] = []
@@ -190,7 +190,7 @@
Inherit Doc
+Defined in src/pools/abstract-pool.ts:29
+Defined in src/pools/cluster/fixed.ts:104
Private
number Of Running Tasks
+Defined in src/pools/abstract-pool.ts:163
+Defined in src/pools/cluster/fixed.ts:99
Protected
after Worker Setup
+Defined in src/pools/cluster/fixed.ts:93
Protected
before Promise Response Hook
+Defined in src/pools/abstract-pool.ts:270
+Defined in src/pools/abstract-pool.ts:310
Protected
create And Setup Worker
+Defined in src/pools/abstract-pool.ts:356
+Defined in src/pools/cluster/fixed.ts:88
+Defined in src/pools/abstract-pool.ts:233
+Defined in src/pools/cluster/fixed.ts:69
+Defined in src/pools/abstract-pool.ts:217
+Defined in src/pools/abstract-pool.ts:210
+Defined in src/pools/abstract-pool.ts:202
+Defined in src/pools/cluster/fixed.ts:64
register Worker Message Listener
+Defined in src/pools/cluster/fixed.ts:80
+Defined in src/pools/abstract-pool.ts:479
+Defined in src/pools/cluster/fixed.ts:75
+Defined in src/pools/abstract-pool.ts:178
+Defined in src/pools/cluster/fixed.ts:59
Protected
worker Listener
@@ -533,7 +533,7 @@ Can be overridden.
Returns void
+Defined in src/pools/abstract-pool.ts:385
+Defined in src/pools/abstract-pool.ts:67
Readonly
number Of Workers
number Of Workers: number
@@ -152,7 +152,7 @@
+Defined in src/pools/abstract-pool.ts:66
Readonly
opts
@@ -160,7 +160,7 @@
+Defined in src/pools/abstract-pool.ts:68
Protected
promise Response Map
@@ -173,7 +173,7 @@
+Defined in src/pools/abstract-pool.ts:42
Protected
worker Choice Strategy Context
@@ -182,7 +182,7 @@
+Defined in src/pools/abstract-pool.ts:52
Readonly
workers
@@ -190,7 +190,7 @@
Inherit Doc
+Defined in src/pools/abstract-pool.ts:29
+Defined in src/pools/thread/fixed.ts:100
Private
number Of Running Tasks
+Defined in src/pools/abstract-pool.ts:163
+Defined in src/pools/thread/fixed.ts:95
Protected
after Worker Setup
+Defined in src/pools/thread/fixed.ts:85
Protected
before Promise Response Hook
+Defined in src/pools/abstract-pool.ts:270
+Defined in src/pools/abstract-pool.ts:310
Protected
create And Setup Worker
+Defined in src/pools/abstract-pool.ts:356
+Defined in src/pools/thread/fixed.ts:78
+Defined in src/pools/abstract-pool.ts:233
+Defined in src/pools/thread/fixed.ts:54
+Defined in src/pools/abstract-pool.ts:217
+Defined in src/pools/abstract-pool.ts:210
+Defined in src/pools/abstract-pool.ts:202
+Defined in src/pools/thread/fixed.ts:49
register Worker Message Listener
+Defined in src/pools/thread/fixed.ts:70
+Defined in src/pools/abstract-pool.ts:479
+Defined in src/pools/thread/fixed.ts:62
+Defined in src/pools/abstract-pool.ts:178
+Defined in src/pools/abstract-pool.ts:255
Protected
worker Listener
@@ -535,7 +535,7 @@ Can be overridden
Returns void
+Defined in src/pools/abstract-pool.ts:385
+Defined in src/worker/abstract-worker.ts:43
Protected
last Task Timestamp
last Task Timestamp: number
@@ -145,7 +145,7 @@ but the minimum number of workers will be guaranteed.
+Defined in src/worker/abstract-worker.ts:27
Protected
main Worker
main Worker: undefined | null | MessagePort
@@ -153,7 +153,7 @@ but the minimum number of workers will be guaranteed.
+Defined in src/worker/abstract-worker.ts:45
Protected
Readonly
opts
@@ -161,7 +161,7 @@ but the minimum number of workers will be guaranteed.
+Defined in src/worker/abstract-worker.ts:46
+Defined in src/worker/abstract-worker.ts:121
+Defined in src/worker/abstract-worker.ts:153
Protected
message Listener
+Defined in src/worker/abstract-worker.ts:75
+Defined in src/worker/abstract-worker.ts:163
+Defined in src/worker/abstract-worker.ts:186
+Defined in src/worker/thread-worker.ts:36
trigger Async Id
diff --git a/docs/interfaces/ClusterPoolOptions.html b/docs/interfaces/ClusterPoolOptions.html
index 61593498..00f43fa0 100644
--- a/docs/interfaces/ClusterPoolOptions.html
+++ b/docs/interfaces/ClusterPoolOptions.html
@@ -25,7 +25,7 @@
+Defined in src/pools/cluster/fixed.ts:11
+Defined in src/pools/cluster/fixed.ts:18
Optional
error Handler
@@ -70,7 +70,7 @@
+Defined in src/pools/pool.ts:26
Optional
exit Handler
@@ -78,7 +78,7 @@
+Defined in src/pools/pool.ts:34
Optional
message Handler
@@ -86,7 +86,7 @@
+Defined in src/pools/pool.ts:22
Optional
online Handler
@@ -94,7 +94,7 @@
+Defined in src/pools/pool.ts:30
+Defined in src/pools/cluster/fixed.ts:24
Optional
worker Choice Strategy
worker Choice Strategy?: "ROUND_ROBIN" | "LESS_USED" | "LESS_BUSY" | "FAIR_SHARE" | "WEIGHTED_ROUND_ROBIN"
@@ -111,7 +111,7 @@
+Defined in src/pools/pool.ts:38
+Defined in src/pools/pool.ts:73
Optional
Readonly
emitter
@@ -75,7 +75,7 @@
+Defined in src/pools/pool.ts:62
execute
execute: ( ( data: Data ) => Promise < Response > )
@@ -99,7 +99,7 @@
Returns Promise < Response >
+Defined in src/pools/pool.ts:69
set Worker Choice Strategy
set Worker Choice Strategy: ( ( workerChoiceStrategy: "ROUND_ROBIN" | "LESS_USED" | "LESS_BUSY" | "FAIR_SHARE" | "WEIGHTED_ROUND_ROBIN" ) => void )
@@ -121,7 +121,7 @@
Returns void
+Defined in src/pools/pool.ts:79
+Defined in src/pools/pool.ts:38
+Defined in src/worker/worker-options.ts:68
Optional
max Inactive Time
max Inactive Time?: number
@@ -75,7 +75,7 @@ when this timeout expires your tasks is interrupted and the worker is killed if
Default Value 60000 ms
+Defined in src/worker/worker-options.ts:51
+Defined in src/pools/pool-worker.ts:9
+Defined in src/pools/pool-worker.ts:19
+Defined in src/pools/pool-worker.ts:4
+Defined in src/pools/pool-worker.ts:14
Maximum number of workers that can be created by this pool.