X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=inline;f=docs%2Fclasses%2FDynamicClusterPool.html;h=afa655c8c1ccc3108e1ffbea53bc1abcd8cfdac5;hb=6c4fa3e1bd11a23fd83b8492ad941a323853de06;hp=2fdd9ea72c55012e5cb3a70b655e70cb2d876dea;hpb=c11be5eddc7229e4b77105ed27e93697b65d0146;p=poolifier.git diff --git a/docs/classes/DynamicClusterPool.html b/docs/classes/DynamicClusterPool.html index 2fdd9ea7..afa655c8 100644 --- a/docs/classes/DynamicClusterPool.html +++ b/docs/classes/DynamicClusterPool.html @@ -1,4 +1,4 @@ -
Optional
Readonly
emitterGenerated using TypeDoc
Emitter on which events can be listened to.
+
+Optional
emitterEvent emitter integrated with async resource on which events can be listened to. +The async tracking tooling identifier is
poolifier:<PoolType>-<WorkerType>-pool
.Events that can currently be listened to:
'ready'
: Emitted when the number of workers created in the pool has reached the minimum size expected and are ready.Protected
Readonly
fileProtected
Readonly
maxProtected
Readonly
numberProtected
Readonly
optsProtected
promiseProtected
workerReadonly
Internal
workerAccessors
Protected
full@@ -273,7 +274,7 @@ When the maximum number of workers is reached and workers are busy, an event is
info
@@ -285,7 +286,7 @@ When the maximum number of workers is reached and workers are busy, an event is
Protected
max@@ -297,7 +298,7 @@ When the maximum number of workers is reached and workers are busy, an event is
Protected
min@@ -309,7 +310,7 @@ When the maximum number of workers is reached and workers are busy, an event is
Private
ready@@ -321,7 +322,7 @@ When the maximum number of workers is reached and workers are busy, an event is
Protected
type@@ -334,7 +335,7 @@ When the maximum number of workers is reached and workers are busy, an event is
Private
utilization@@ -347,7 +348,7 @@ When the maximum number of workers is reached and workers are busy, an event is
Protected
worker@@ -359,7 +360,7 @@ When the maximum number of workers is reached and workers are busy, an event is
Methods
Protected
after@@ -418,7 +419,7 @@ Can be overridden.
Protected
after@@ -439,7 +440,7 @@ Can be overridden.
Protected
before@@ -465,7 +466,7 @@ Can be overridden.
Protected
create@@ -478,7 +479,7 @@ Can be overridden.
Protected
create@@ -491,7 +492,7 @@ Can be overridden.
Protected
create@@ -504,7 +505,7 @@ Can be overridden.
Protected
deregister@@ -545,7 +546,7 @@ Can be overridden.
destroy
@@ -557,7 +558,7 @@ Can be overridden.
Protected
destroy@@ -577,7 +578,7 @@ Can be overridden.
enable Tasks Queue
@@ -602,7 +603,7 @@ Can be overridden.
execute
@@ -633,7 +634,7 @@ Can be overridden.
Protected
flush@@ -647,7 +648,7 @@ Can be overridden.
Returns void
Protected
get@@ -668,7 +669,7 @@ Can be overridden.
has Task Function
@@ -689,7 +690,7 @@ Can be overridden.
has Worker Node Back Pressure
@@ -710,7 +711,7 @@ Can be overridden.
Protected
internal@@ -723,7 +724,7 @@ Can be overridden.
Protected
is@@ -735,7 +736,7 @@ Can be overridden.
list Task Function Names
@@ -748,7 +749,7 @@ Can be overridden.
Protected
register@@ -789,7 +790,7 @@ Can be overridden.
Protected
register@@ -830,7 +831,7 @@ Can be overridden.
remove Task Function
@@ -851,7 +852,7 @@ Can be overridden.
Protected
send@@ -865,7 +866,7 @@ Can be overridden.
Returns Promise<void>
Protected
send@@ -885,7 +886,7 @@ Can be overridden.
Protected
send@@ -910,7 +911,7 @@ Can be overridden.
set Default Task Function
@@ -931,7 +932,7 @@ Can be overridden.
set Tasks Queue Options
@@ -951,7 +952,7 @@ Can be overridden.
set Worker Choice Strategy
@@ -976,7 +977,7 @@ Can be overridden.
set Worker Choice Strategy Options
@@ -996,7 +997,7 @@ Can be overridden.
Protected
setup@@ -1009,7 +1010,7 @@ Can be overridden.
start
@@ -1021,35 +1022,24 @@ Can be overridden.
Listener
+Protected
workerProtected
worker-- worker
Listener(): ((message) => void)
+- worker
Message Listener(message): void
-
-
-
This method is the listener registered for each worker message.
-Returns ((message) => void)
The listener function to execute when a message is received from a worker.
- ---
-
-- (message): void
--
-
-
-
+ - Defined in src/pools/abstract-pool.ts:1496
This method is the listener registered for each worker message.
+This method is the message listener registered on each worker.
Parameters
message: MessageValue<Response, unknown>
Returns void
The listener function to execute when a message is received from a worker.
- - +Returns void
Member Visibility
Theme
@@ -1118,9 +1108,9 @@ Can be overridden.set Worker Choice Strategy Options
setup Hook
start
-worker Listener