X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FIPool.html;h=e0c80130e9ea5c8f7c96a22c9caaac6fac09428f;hb=9954c636f2caafac0b2bf0289059788679fd3053;hp=7efd9779ab1e386b03c87ca8ffb0a7f53c7749e9;hpb=a8aeac440fb425585a0d597af86f616e648ae156;p=poolifier.git diff --git a/docs/interfaces/IPool.html b/docs/interfaces/IPool.html index 7efd9779..e0c80130 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 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.
Readonly
typeIf it is 'dynamic'
, it provides the max
property.
Readonly
workerPool worker nodes.
Enables/disables the worker tasks queue in this pool.