X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FIPool.html;h=4567e0027b303945bb128b07fae9abef4415f27a;hb=95c83464bb1fab234d1c41204f98defcd01c789f;hp=520a5ea324bbb43c4baacdd98c496b8b0ee80a62;hpb=797996a92f40d5779cd31314b59462e41d529989;p=poolifier.git
diff --git a/docs/interfaces/IPool.html b/docs/interfaces/IPool.html
index 520a5ea3..4567e002 100644
--- a/docs/interfaces/IPool.html
+++ b/docs/interfaces/IPool.html
@@ -34,7 +34,7 @@
+Defined in src/pools/pool.ts:53
Optional
Readonly
emitter
@@ -74,7 +74,7 @@
+Defined in src/pools/pool.ts:61
execute
execute: ((data: Data) => Promise<Response>)
@@ -98,16 +98,16 @@
Returns Promise<Response>
+Defined in src/pools/pool.ts:68
setWorkerChoiceStrategy
-setWorkerChoiceStrategy: ((workerChoiceStrategy: "ROUND_ROBIN" | "LESS_RECENTLY_USED" | "FAIR_SHARE" | "WEIGHTED_ROUND_ROBIN") => void)
+setWorkerChoiceStrategy: ((workerChoiceStrategy: "ROUND_ROBIN" | "LESS_USED" | "LESS_BUSY" | "FAIR_SHARE" | "WEIGHTED_ROUND_ROBIN") => void)
Type declaration
-
-- (workerChoiceStrategy: "ROUND_ROBIN" | "LESS_RECENTLY_USED" | "FAIR_SHARE" | "WEIGHTED_ROUND_ROBIN"): void
+- (workerChoiceStrategy: "ROUND_ROBIN" | "LESS_USED" | "LESS_BUSY" | "FAIR_SHARE" | "WEIGHTED_ROUND_ROBIN"): void
-
@@ -115,12 +115,12 @@
Parameters
-
-
workerChoiceStrategy: "ROUND_ROBIN" | "LESS_RECENTLY_USED" | "FAIR_SHARE" | "WEIGHTED_ROUND_ROBIN"
+workerChoiceStrategy: "ROUND_ROBIN" | "LESS_USED" | "LESS_BUSY" | "FAIR_SHARE" | "WEIGHTED_ROUND_ROBIN"
Returns void
+Defined in src/pools/pool.ts:78
Sets the worker choice strategy in this pool.