X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Fclasses%2FFixedThreadPool.html;h=c4abb69c45cb8feb98782bb01e23852a146e78ca;hb=7d6b5ad23febf5c7830f98a10fb75fb29853bcdb;hp=7683c280d007b64b8048cc0c494cdd4143d66c03;hpb=06fa9e0de6b62965c9dd2fe6023e943f35775026;p=poolifier.git diff --git a/docs/classes/FixedThreadPool.html b/docs/classes/FixedThreadPool.html index 7683c280..c4abb69c 100644 --- a/docs/classes/FixedThreadPool.html +++ b/docs/classes/FixedThreadPool.html @@ -44,7 +44,7 @@
+Readonly
fileReadonly
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 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.
The worker which should register a listener.
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
Path to the worker-file.
+Path to the worker file.
Readonly
number