X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FIPool.html;h=978eaa3fb72d8d0c123864fd66c5fde93e2a91b9;hb=6b272951b296a2ea26659e9a2fa81bdc6003407f;hp=5123dcf9cc5262bfe96d29eaf2b599e497e40fda;hpb=15d6dfaf877ec6a99e2bde48cb3c8a9e8671c075;p=poolifier.git
diff --git a/docs/interfaces/IPool.html b/docs/interfaces/IPool.html
index 5123dcf9..978eaa3f 100644
--- a/docs/interfaces/IPool.html
+++ b/docs/interfaces/IPool.html
@@ -29,12 +29,12 @@
Data = unknown
-
+Defined in src/pools/pool.ts:218
execute
execute: ((data?, name?) => Promise<Response>)
@@ -143,7 +143,7 @@
+Defined in src/pools/pool.ts:189
Readonly
info
@@ -163,7 +163,7 @@
+Defined in src/pools/pool.ts:166
setTasksQueueOptions
setTasksQueueOptions: ((tasksQueueOptions) => void)
@@ -187,7 +187,7 @@
Returns void
+Defined in src/pools/pool.ts:227
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:200
setWorkerChoiceStrategyOptions
setWorkerChoiceStrategyOptions: ((workerChoiceStrategyOptions) => void)
@@ -240,7 +240,7 @@
Returns void
+Defined in src/pools/pool.ts:209
Readonly
workerNodes
@@ -248,7 +248,7 @@
+Defined in src/pools/pool.ts:170
+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.
+Terminate every current worker in this pool.
Returns Promise<void>
Optional
Readonly
emitterenable Tasks Queue
Returns void