X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fclasses%2FFixedThreadPool.html;h=0ba79d7ac18e75fc1c681e2bc67fe6f4684d0af7;hb=a1e5b51ea192bdcad4751d1f4facc19498ee4f1d;hp=e68d93c34e6ded0cfb012e67dcb8d9ed9446a639;hpb=aec509b85e7d73e9883c8885e27fc4e34fdaef1e;p=poolifier.git diff --git a/docs/classes/FixedThreadPool.html b/docs/classes/FixedThreadPool.html index e68d93c3..0ba79d7a 100644 --- a/docs/classes/FixedThreadPool.html +++ b/docs/classes/FixedThreadPool.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,13 +388,35 @@ 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 constructor with the task data input parameter.
Promise that will be resolved when the task is successfully completed.
The input for the specified task. This can only be serializable data.
+The task input data for the specified 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 @@