@@ -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:96
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:69
Protected
worker Choice Strategy Context
@@ -217,7 +221,7 @@ When the maximum number of threads is reached and workers are busy, an event is
+
Defined in src/pools/abstract-pool.ts:77
Readonly
worker Nodes
@@ -226,7 +230,7 @@ When the maximum number of threads is reached and workers are busy, an event is
+
Defined in src/pools/abstract-pool.ts:56
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:563
+
Defined in src/pools/abstract-pool.ts:269
+
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:425
+
Defined in src/pools/thread/fixed.ts:81
Protected
after Worker Setup
+
Defined in src/pools/abstract-pool.ts:924
Protected
before Task Execution Hook
+
Defined in src/pools/abstract-pool.ts:668
+
+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:1007
Protected
create And Setup Worker
+
Defined in src/pools/abstract-pool.ts:941
+
Defined in src/pools/thread/fixed.ts:68
+
Defined in src/pools/abstract-pool.ts:623
+
Defined in src/pools/thread/fixed.ts:57
+
Defined in src/pools/abstract-pool.ts:528
+
Defined in src/pools/abstract-pool.ts:588
+
Defined in src/pools/abstract-pool.ts:579
+
Defined in src/pools/thread/fixed.ts:52
+
Defined in src/pools/thread/fixed.ts:63
+
Defined in src/pools/abstract-pool.ts:540
+
Defined in src/pools/abstract-pool.ts:498
set Worker Choice Strategy Options
+
Defined in src/pools/abstract-pool.ts:517
+
Defined in src/pools/abstract-pool.ts:652
+Defined in src/pools/abstract-pool.ts:1038
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