X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FIWorkerChoiceStrategy.html;h=90a2ee61c645af644cbd858c1a9be4d79da515e7;hb=004a8816ae9b52388de246a9c7a5184a73915ad6;hp=fbbff3b449891fce274fa79cecd9aa35d84cb692;hpb=15e4d8f3cafe9f7412913b0e440921e813bdf3cd;p=poolifier.git
diff --git a/docs/interfaces/IWorkerChoiceStrategy.html b/docs/interfaces/IWorkerChoiceStrategy.html
index fbbff3b4..90a2ee61 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
+ThreadPoolOptions
+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.
-