X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fclasses%2FFixedThreadPool.html;h=0ba79d7ac18e75fc1c681e2bc67fe6f4684d0af7;hb=a1e5b51ea192bdcad4751d1f4facc19498ee4f1d;hp=596e0ce267c8527d32b838e8fe48c7fdc3ff956e;hpb=d6b93f1ae5603949390418b787e0ad51b026f9c5;p=poolifier.git diff --git a/docs/classes/FixedThreadPool.html b/docs/classes/FixedThreadPool.html index 596e0ce2..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
fullPrivate
numberPrivate
numberProtected
afterProtected
beforeProtected
chooseProtected
createProtected
createProtected
destroyEnables/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
registerProtected
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 @@@@ -82,13 +82,16 @@ create Worker
destroy
destroy Worker
+enable Tasks Queue
execute
find Free Worker Node Key
internal Busy
is Main
register Worker Message Listener
send To Worker
+set Tasks Queue Options
set Worker Choice Strategy
+set Worker Choice Strategy Options
setup Hook
worker Listener