X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FIPool.html;h=4abbb36f0841376b114884c7ab246ad66886dcf2;hb=cac70359b46b8437dd8d23ef6176c6cdfd187c0c;hp=7911f61f194612f589612577ae878dc8cc2912f9;hpb=15e4d8f3cafe9f7412913b0e440921e813bdf3cd;p=poolifier.git
diff --git a/docs/interfaces/IPool.html b/docs/interfaces/IPool.html
index 7911f61f..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.