X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Finterfaces%2FIPool.html;h=394e14c9f03a68fa75aa5f00554442a72060ac1e;hb=6047493a00c2852f2c7f4329def8e1322c678cf1;hp=c7323502811497d57439240f1692d47b9ae3f03b;hpb=a20f0ba5aa9c6946254aa197286ad9b70b6a0319;p=poolifier.git diff --git a/docs/interfaces/IPool.html b/docs/interfaces/IPool.html index c7323502..394e14c9 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: TasksQueueOptionsPerforms the task specified in the constructor with the data parameter.
+Executes the function specified in the constructor with the task data parameter.
Promise that will be resolved when the task is successfully completed.
Finds a free worker node key based on the number of tasks the worker has applied.
If a worker is found with 0
running tasks, it is detected as free and its worker node key is returned.
Sets the worker tasks queue options in this pool.
+The worker tasks queue options.
+Sets the worker choice strategy in this pool.
Sets the worker choice strategy options in this pool.
+The 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.
+