X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FIPool.html;h=80ced8c2e418c996ae119c266c59b6bcc6f15f90;hb=ae55bb0ecb73cd5cf8d4d5bc62a145e0476aec38;hp=5123dcf9cc5262bfe96d29eaf2b599e497e40fda;hpb=8d20e449d72975f6add9177d1097d5a204d14f71;p=poolifier.git
diff --git a/docs/interfaces/IPool.html b/docs/interfaces/IPool.html
index 5123dcf9..80ced8c2 100644
--- a/docs/interfaces/IPool.html
+++ b/docs/interfaces/IPool.html
@@ -29,12 +29,12 @@
Data = unknown
-
+Defined in src/pools/pool.ts:224
execute
execute: ((data?, name?) => Promise<Response>)
@@ -143,7 +143,7 @@
+Defined in src/pools/pool.ts:195
Readonly
info
@@ -163,7 +163,7 @@
+Defined in src/pools/pool.ts:172
setTasksQueueOptions
setTasksQueueOptions: ((tasksQueueOptions) => void)
@@ -187,7 +187,7 @@
Returns void
+Defined in src/pools/pool.ts:233
setWorkerChoiceStrategy
setWorkerChoiceStrategy: ((workerChoiceStrategy, workerChoiceStrategyOptions?) => void)
@@ -204,7 +204,7 @@
Parameters
-
-
workerChoiceStrategy: "ROUND_ROBIN" | "LEAST_USED" | "LEAST_BUSY" | "FAIR_SHARE" | "WEIGHTED_ROUND_ROBIN" | "INTERLEAVED_WEIGHTED_ROUND_ROBIN"
+workerChoiceStrategy: "ROUND_ROBIN" | "LEAST_USED" | "LEAST_BUSY" | "LEAST_ELU" | "FAIR_SHARE" | "WEIGHTED_ROUND_ROBIN" | "INTERLEAVED_WEIGHTED_ROUND_ROBIN"
@@ -216,7 +216,7 @@
Returns void
+Defined in src/pools/pool.ts:206
setWorkerChoiceStrategyOptions
setWorkerChoiceStrategyOptions: ((workerChoiceStrategyOptions) => void)
@@ -240,7 +240,7 @@
Returns void
+Defined in src/pools/pool.ts:215
Readonly
workerNodes
@@ -248,7 +248,7 @@
+Defined in src/pools/pool.ts:176
+WorkerTypes
+availableParallelism
Type of data sent to the worker. This can only be serializable data.
+Type of data sent to the worker. This can only be structured-cloneable data.
Response = unknown
-Type of execution response. This can only be serializable data.
+Type of execution response. This can only be structured-cloneable data.
@@ -76,12 +76,12 @@- (): Promise<void>
-
-
Shutdowns every current worker in this pool.
+Terminates every current worker in this pool.
Returns Promise<void>
Optional
Readonly
emitterenable Tasks Queue
Returns void