@@ -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,7 @@ When the maximum number of threads is reached and workers are busy, an event is
info
max Size
min Size
+ready
type
utilization
worker
@@ -82,6 +83,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 +143,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 +152,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 +188,7 @@ When the maximum number of threads is reached and workers are busy, an event is
+
Defined in src/pools/abstract-pool.ts:104
Protected
Readonly
opts
@@ -194,7 +197,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 +211,7 @@ When the maximum number of threads is reached and workers are busy, an event is
+
Defined in src/pools/abstract-pool.ts:73
Protected
worker Choice Strategy Context
@@ -217,16 +220,16 @@ When the maximum number of threads is reached and workers are busy, an event is
+
Defined in src/pools/abstract-pool.ts:81
+
Defined in src/pools/abstract-pool.ts:60
Accessors
@@ -241,7 +244,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:586
+
Defined in src/pools/abstract-pool.ts:289
+
Defined in src/pools/thread/dynamic.ts:43
+
Defined in src/pools/thread/fixed.ts:86
+
+Private
ready
+
+get ready( ) : boolean
+
+Returns boolean
+
Defined in src/pools/thread/dynamic.ts:38
+
Defined in src/pools/abstract-pool.ts:442
+
Defined in src/pools/thread/fixed.ts:81
Protected
after Worker Setup
+
Defined in src/pools/abstract-pool.ts:1020
Protected
before Task Execution Hook
+
Defined in src/pools/abstract-pool.ts:691
+
+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:972
Protected
create And Setup Worker
+
Defined in src/pools/abstract-pool.ts:933
+
Defined in src/pools/thread/fixed.ts:68
+
Defined in src/pools/abstract-pool.ts:646
+
Defined in src/pools/thread/fixed.ts:57
+
Defined in src/pools/abstract-pool.ts:551
+
Defined in src/pools/abstract-pool.ts:611
+
Defined in src/pools/abstract-pool.ts:602
+
Defined in src/pools/thread/fixed.ts:52
+
Defined in src/pools/thread/fixed.ts:63
+
Defined in src/pools/abstract-pool.ts:563
+
Defined in src/pools/abstract-pool.ts:521
set Worker Choice Strategy Options
+
Defined in src/pools/abstract-pool.ts:540
+
Defined in src/pools/abstract-pool.ts:675
+Defined in src/pools/abstract-pool.ts:1071
Emitter on which events can be listened to.
Events that can currently be listened to:
-
-
+
+
+
@@ -159,7 +162,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