X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FIPool.html;h=4abbb36f0841376b114884c7ab246ad66886dcf2;hb=cac70359b46b8437dd8d23ef6176c6cdfd187c0c;hp=571c7d069e515c863d583e3dc1b1edf05da45f6a;hpb=938d9c678aa8e70e5642feffb90604cf25c993fe;p=poolifier.git
diff --git a/docs/interfaces/IPool.html b/docs/interfaces/IPool.html
index 571c7d06..4abbb36f 100644
--- a/docs/interfaces/IPool.html
+++ b/docs/interfaces/IPool.html
@@ -18,9 +18,9 @@
Type of worker which manages this pool.Type Parameters
-
+
Worker extends IWorker
@@ -57,6 +57,7 @@
set
Optional
Readonly
emitterExecutes the function specified in the worker constructor with the task data input parameter.
- -Promise that will be fulfilled when the task is completed.
Optional
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.
Readonly
sizePool maximum size.
+Readonly
typeIf it is 'dynamic'
, it provides the max
property.
Readonly
workerPool worker nodes.
Contract definition for a poolifier pool.