X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FIPool.html;h=143016d733dec7ba2af14088f9e68daa9ac12b82;hb=ef41a6e6f04e66c9732334e673758b2f4e4b0730;hp=b314d771a729005b972e962e4556c3111b8d5b84;hpb=5abbf08a224670226e5432695f490fa44ff34937;p=poolifier.git
diff --git a/docs/interfaces/IPool.html b/docs/interfaces/IPool.html
index b314d771..143016d7 100644
--- a/docs/interfaces/IPool.html
+++ b/docs/interfaces/IPool.html
@@ -42,7 +42,7 @@
+Defined in src/pools/pool.ts:119
Optional
Readonly
emitter
@@ -89,7 +89,7 @@
+Defined in src/pools/pool.ts:142
enableTasksQueue
@@ -115,7 +115,7 @@
Returns void
+Defined in src/pools/pool.ts:188
execute
execute: ((data: Data) => Promise<Response>)
@@ -126,7 +126,7 @@
- (data: Data): Promise<Response>
-
-
+Defined in src/pools/pool.ts:159
findFreeWorkerNodeKey
findFreeWorkerNodeKey: (() => number)
@@ -158,7 +158,7 @@
Returns number
+Defined in src/pools/pool.ts:152
setTasksQueueOptions
@@ -180,7 +180,7 @@
Returns void
+Defined in src/pools/pool.ts:197
setWorkerChoiceStrategy
set
Worker
Choice
Strategy
: ((workerChoiceStrategy
: "ROUND_ROBIN" | "LESS_USED" | "LESS_BUSY" | "FAIR_SHARE" | "WEIGHTED_ROUND_ROBIN", workerChoiceStrategyOptions
?: WorkerChoiceStrategyOptions) => void)
@@ -206,7 +206,7 @@
Returns void
+Defined in src/pools/pool.ts:170
setWorkerChoiceStrategyOptions
@@ -228,7 +228,7 @@
Returns void
+Defined in src/pools/pool.ts:179
Readonly
type
@@ -236,14 +236,14 @@
If it is 'dynamic'
, it provides the max
property.
+Defined in src/pools/pool.ts:129
+Defined in src/pools/pool.ts:133
Executes the function specified in the constructor with the task data parameter.
+Executes the function specified in the constructor with the task data input parameter.
Returns
Promise that will be resolved when the task is successfully completed.
data: Data
-The input for the specified task. This can only be serializable data.
+The task input data for the specified function. This can only be serializable data.
Returns Promise<Response>