X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Finterfaces%2FIWorkerChoiceStrategy.html;h=437990330491452ea1c1d7cfbbcbd719bb689e39;hb=3ef87592f37b293b9593bfeefc77c78a8ddbabb3;hp=14566eee331e4456aaa34d86e0ec624904e4375c;hpb=4703c53b33791724a31462d7c6dabd43b0385f7c;p=poolifier.git
diff --git a/docs/interfaces/IWorkerChoiceStrategy.html b/docs/interfaces/IWorkerChoiceStrategy.html
index 14566eee..43799033 100644
--- a/docs/interfaces/IWorkerChoiceStrategy.html
+++ b/docs/interfaces/IWorkerChoiceStrategy.html
@@ -17,13 +17,14 @@
Interface IWorkerChoiceStrategy
+
+
+Defined in src/pools/selection-strategies/selection-strategies-types.ts:102
-remove
+remove
remove: ((workerNodeKey) => boolean)
Type declaration
@@ -64,7 +68,7 @@
- (workerNodeKey): boolean
-
-
-
-
Readonly
requiredStatistics
-
-
+
+Returns boolean
true
if the worker node key is removed, false
otherwise.
+
+
+Defined in src/pools/selection-strategies/selection-strategies-types.ts:131
-reset
+reset
reset: (() => boolean)
Type declaration
@@ -93,13 +93,15 @@
- (): boolean
-
-
+Defined in src/pools/selection-strategies/selection-strategies-types.ts:112
-setOptions
+setOptions
setOptions: ((opts) => void)
Type declaration
@@ -116,15 +118,47 @@
-Returns void
+
+Readonly
taskStatistics
+
+
+
+
+update
+update: ((workerNodeKey) => boolean)
+
+Defined in src/pools/selection-strategies/selection-strategies-types.ts:118
+AbstractPool
+AbstractWorker
+CircularArray
+ClusterWorker
+DynamicClusterPool
+DynamicThreadPool
+FixedClusterPool
+FixedThreadPool
+PoolEmitter
+Queue
+ThreadWorker
+WorkerChoiceStrategyContext
+ClusterPoolOptions
+IPool
+IWorker
+IWorkerChoiceStrategy
+MessageValue
+PoolInfo
+PoolOptions
+PromiseResponseWrapper
+Task
+TaskStatistics
+TasksQueueOptions
+TasksUsage
+WorkerChoiceStrategyOptions
+WorkerNode
+WorkerOptions
+Draft
+ErrorHandler
+ExitHandler
+KillBehavior
+MessageHandler
+OnlineHandler
+PoolEvent
+PoolType
+TaskFunctions
+ThreadWorkerWithMessageChannel
+WorkerAsyncFunction
+WorkerChoiceStrategy
+WorkerFunction
+WorkerSyncFunction
+WorkerType
+KillBehaviors
+PoolEvents
+PoolTypes
+WorkerChoiceStrategies
+WorkerTypes
Worker choice strategy interface.
-