X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FIPool.html;h=6668e51119507a100de3d33586f0c5057715dcb1;hb=4a2991331aa9ab339cf110856e8ce4752a0b3400;hp=85ba384b9d411e1800794fdaefd237e716dd6e9e;hpb=402f08b7b31c721d9780c795e5e34a8998bc88aa;p=poolifier.git
diff --git a/docs/interfaces/IPool.html b/docs/interfaces/IPool.html
index 85ba384b..6668e511 100644
--- a/docs/interfaces/IPool.html
+++ b/docs/interfaces/IPool.html
@@ -6,7 +6,7 @@
- Preparing search index...
-- The search index is not available
poolifier
+The search index is not availablepoolifier
@@ -34,7 +34,7 @@
+
Defined in src/pools/pool.ts:53
@@ -56,14 +56,14 @@
Type declaration
-
-
-- (): Promise<void>
+
+- (): Promise<void>
-
Returns Promise<void>
+
Defined in src/pools/pool.ts:72
Optional
Readonly
emitter
@@ -74,7 +74,7 @@
+Defined in src/pools/pool.ts:61
execute
execute: ((data: Data) => Promise<Response>)
@@ -82,8 +82,8 @@
Type declaration
-
-
-- (data: Data): Promise<Response>
+
+- (data: Data): Promise<Response>
-
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
Shutdowns every current worker in this pool.