X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FIPool.html;h=143016d733dec7ba2af14088f9e68daa9ac12b82;hb=ef41a6e6f04e66c9732334e673758b2f4e4b0730;hp=394e14c9f03a68fa75aa5f00554442a72060ac1e;hpb=53221c4e8cbcc585c670275e7c1c700c3d1b5f37;p=poolifier.git diff --git a/docs/interfaces/IPool.html b/docs/interfaces/IPool.html index 394e14c9..143016d7 100644 --- a/docs/interfaces/IPool.html +++ b/docs/interfaces/IPool.html @@ -42,7 +42,7 @@
+Optional
Readonly
emitterWhether 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.
Sets the worker choice strategy in this pool.
The worker choice strategy.
+Optional
workerChoiceStrategyOptions: WorkerChoiceStrategyOptionsThe worker choice strategy options.
Readonly
typeIf it is 'dynamic'
, it provides the max
property.
Readonly
workerPool worker nodes.
Enables/disables the worker tasks queue in this pool.