@@ -45,7 +45,7 @@ When the maximum number of threads is reached and workers are busy, an event is
+
Defined in src/pools/thread/dynamic.ts:15
@@ -73,6 +73,8 @@ When the maximum number of threads is reached and workers are busy, an event is
info
max Size
min Size
+ready
+starting
type
utilization
worker
@@ -82,6 +84,7 @@ When the maximum number of threads is reached and workers are busy, an event is
after Task Execution Hook
after Worker Setup
before Task Execution Hook
+
check Dynamic Pool Size
create And Setup Dynamic Worker
create And Setup Worker
create Worker
@@ -141,7 +144,7 @@ When the maximum number of threads is reached and workers are busy, an event is
+
Defined in src/pools/thread/dynamic.ts:27
Properties
@@ -150,8 +153,9 @@ When the maximum number of threads is reached and workers are busy, an event is
+Defined in src/pools/thread/dynamic.ts:29
Protected
Readonly
number Of Workers
number Of Workers : number
@@ -185,7 +189,7 @@ When the maximum number of threads is reached and workers are busy, an event is
+
Defined in src/pools/abstract-pool.ts:95
Protected
Readonly
opts
@@ -194,7 +198,7 @@ When the maximum number of threads is reached and workers are busy, an event is
+
Defined in src/pools/thread/fixed.ts:46
Protected
promise Response Map
@@ -208,7 +212,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
worker Choice Strategy Context
@@ -217,16 +221,16 @@ When the maximum number of threads is reached and workers are busy, an event is
+
Defined in src/pools/abstract-pool.ts:76
+
Defined in src/pools/abstract-pool.ts:55
Accessors
@@ -241,7 +245,7 @@ When the maximum number of threads is reached and workers are busy, an event is
+Defined in src/pools/thread/dynamic.ts:48
+
Defined in src/pools/abstract-pool.ts:562
+
Defined in src/pools/abstract-pool.ts:268
+
Defined in src/pools/thread/dynamic.ts:43
+
Defined in src/pools/thread/fixed.ts:86
+
+Private
ready
+
+get ready( ) : boolean
+
+Returns boolean
+
+Private
starting
+
+get starting( ) : boolean
+
+Returns boolean
+
Defined in src/pools/thread/dynamic.ts:38
+
Defined in src/pools/abstract-pool.ts:424
+
Defined in src/pools/thread/fixed.ts:81
Protected
after Worker Setup
+
Defined in src/pools/abstract-pool.ts:911
Protected
before Task Execution Hook
+
Defined in src/pools/abstract-pool.ts:667
+
+Protected
check Dynamic Pool Size
+
+check Dynamic Pool Size ( min , max ) : void
+
+
+
Parameters
+
+
+min : number
+
+max : number
+Returns void
Protected
create And Setup Dynamic Worker
+
Defined in src/pools/abstract-pool.ts:994
Protected
create And Setup Worker
+
Defined in src/pools/abstract-pool.ts:928
+
Defined in src/pools/thread/fixed.ts:68
+
Defined in src/pools/abstract-pool.ts:622
+
Defined in src/pools/thread/fixed.ts:57
+
Defined in src/pools/abstract-pool.ts:527
+
Defined in src/pools/abstract-pool.ts:587
+
Defined in src/pools/abstract-pool.ts:578
+
Defined in src/pools/thread/fixed.ts:52
+
Defined in src/pools/thread/fixed.ts:63
+
Defined in src/pools/abstract-pool.ts:539
+
Defined in src/pools/abstract-pool.ts:497
set Worker Choice Strategy Options
+
Defined in src/pools/abstract-pool.ts:516
+
Defined in src/pools/abstract-pool.ts:651
+Defined in src/pools/abstract-pool.ts:1025
Emitter on which events can be listened to.
Events that can currently be listened to:
-
-
+
+
+
@@ -159,7 +163,7 @@ When the maximum number of threads is reached and workers are busy, an event is +'full'
: Emitted when the pool is dynamic and full.'busy'
: Emitted when the pool is busy.'full'
: Emitted when the pool is dynamic and the number of workers created has reached the maximum size expected.'ready'
: Emitted when the number of workers created in the pool has reached the minimum size expected and are ready.'busy'
: Emitted when the number of workers created in the pool has reached the maximum size expected and are executing at least one task.'error'
: Emitted when an uncaught error occurs.'taskError'
: Emitted when an error occurs while executing a task.Protected
Readonly
fileProtected
Readonly
max