X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fclasses%2FFixedClusterPool.html;h=8e749bceab3139cc10e9edd704ed7d9fd29b5ed3;hb=a230240d39d3a8bbd986900986795f0bbabb1a72;hp=3604f5524ee3d54162d4e71601d076fd5317ae81;hpb=e7339cfd46bfe4600187ae2c6bd6c9e7f63e7052;p=poolifier.git diff --git a/docs/classes/FixedClusterPool.html b/docs/classes/FixedClusterPool.html index 3604f552..8e749bce 100644 --- a/docs/classes/FixedClusterPool.html +++ b/docs/classes/FixedClusterPool.html @@ -33,7 +33,7 @@
Readonly
filePath to the worker-file.
+Path to the worker file.
Readonly
numberReadonly
optsProtected
promiseProtected
workerReadonly
workerProtected
busyWhether the pool is busy or not.
@@ -209,10 +212,10 @@Protected
fullWhether the pool is full or not.
@@ -221,7 +224,7 @@Private
numberPrivate
numberProtected
afterProtected
beforeProtected
chooseProtected
createProtected
createProtected
destroyShutdowns the given worker.
@@ -385,27 +388,49 @@ Can be overridden.Enables/disables the worker tasks queue in this pool.
+Whether to enable or disable the worker tasks queue.
+Optional
tasksQueueOptions: TasksQueueOptionsThe worker tasks queue options.
+Performs the task specified in the constructor with the data parameter.
+Executes the function specified in the worker constructor with the task data input parameter.
-Promise that will be resolved when the task is successfully completed.
+Promise that will be fulfilled when the task is completed.
The input for the specified task. This can only be serializable data.
+Optional
data: DataThe task input data for the specified worker function. This can only be serializable data.
Protected
internalProtected
isProtected
registerRegisters a listener callback on the given worker.
@@ -478,7 +503,7 @@ Can be overridden.Protected
sendSets the worker tasks queue options in this pool.
+The worker tasks queue options.
+Sets the worker choice strategy in this pool.
The worker choice strategy.
+Optional
workerChoiceStrategyOptions: WorkerChoiceStrategyOptionsThe worker choice strategy options.
Sets the worker choice strategy options in this pool.
+The worker choice strategy options.
+Protected
setupProtected
worker
Type of response of execution. This can only be serializable data.
+Type of execution response. This can only be serializable data.
Hierarchy
@@ -44,7 +44,7 @@@@ -66,8 +66,8 @@