X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=inline;f=docs%2Fclasses%2FDynamicClusterPool.html;h=e58245ddb04ce54782236ec11b5eedbc2a8ece25;hb=40baeb4e66efa6646d3221029cd012fb7bda8955;hp=d12c5c0ec1fd026208c99d09e4515a5b1572ece6;hpb=1b0aa06b3ab5cf8ae8bd135087143165889901cc;p=poolifier.git diff --git a/docs/classes/DynamicClusterPool.html b/docs/classes/DynamicClusterPool.html index d12c5c0e..e58245dd 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
Readonly
fileReadonly
maxReadonly
numberReadonly
optsProtected
promiseThe promise response map.
+The execution response promise map.
key
: The message id of each submitted task.value
: An object that contains the worker, the promise resolve and reject callbacks.value
: An object that contains the worker, the execution response promise resolve and reject callbacks.When we receive a message from the worker we get a map entry with the promise resolve/reject bound to the message.
+When we receive a message from the worker, we get a map entry with the promise resolve/reject bound to the message id.
Protected
workerReadonly
workerPrivate
numberPrivate
numberProtected
afterProtected
afterHook executed after the worker task promise resolution. +
Hook executed after the worker task execution. Can be overridden.
The received message.
Protected
afterProtected
beforeProtected
beforeHook executed before the worker task promise resolution. +
Hook executed before the worker task execution. Can be overridden.
The worker node key.
Protected
chooseProtected
createProtected
createProtected
dequeueProtected
enqueueProtected
flushProtected
flushProtected
internalProtected
isProtected
removeProtected
sendProtected
setupProtected
tasksProtected
workerGenerated using TypeDoc
Maximum number of workers that can be created by this pool.