X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=inline;f=docs%2Fclasses%2FDynamicThreadPool.html;h=d00fdb27533fc1f230e808eb392cf4a4f9e064b9;hb=67a6f2fa4500ca41675aaec32730093d312a351d;hp=a2715f3ecc36ceffda6ebf0ec9eb367391e5ac6d;hpb=6709f3086622c12bae8060915be7a7f6be9d9763;p=poolifier.git diff --git a/docs/classes/DynamicThreadPool.html b/docs/classes/DynamicThreadPool.html index a2715f3e..d00fdb27 100644 --- a/docs/classes/DynamicThreadPool.html +++ b/docs/classes/DynamicThreadPool.html @@ -42,7 +42,7 @@ When the maximum number of threads is reached and workers are busy, an event is
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
opts: TasksQueueOptionsOptional
tasksQueueOptions: TasksQueueOptionsThe worker tasks queue options.
+Executes the function specified in the constructor with the task 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.
Protected
setupProtected
worker
Path to the worker-file.
+Path to the worker file.
Readonly
maxMaximum number of threads that can be created by this pool.
Readonly
number