X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Finterfaces%2FIPool.html;h=4abbb36f0841376b114884c7ab246ad66886dcf2;hb=cac70359b46b8437dd8d23ef6176c6cdfd187c0c;hp=80d249d564d190cbd12f125920cc5522affa6259;hpb=3db6a2b42ee697b6f587b0f41020771941a65e68;p=poolifier.git diff --git a/docs/interfaces/IPool.html b/docs/interfaces/IPool.html index 80d249d5..4abbb36f 100644 --- a/docs/interfaces/IPool.html +++ b/docs/interfaces/IPool.html @@ -42,7 +42,7 @@
+Optional
Readonly
emitterOptional
data: DataThe task input data for the specified worker function. This can only be serializable data.
+Optional
name: stringThe name of the worker function to execute. If not specified, the default worker function will be executed.
Promise that will be fulfilled when the task is completed.
Readonly
sizePool maximum size.
+Readonly
typeIf it is 'dynamic'
, it provides the max
property.
Readonly
workerPool worker nodes.
Executes the function specified in the worker constructor with the task data input parameter.