repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
feat: add pool runtime setters
[poolifier.git]
/
src
/
pools
/
selection-strategies
/
selection-strategies-types.ts
diff --git
a/src/pools/selection-strategies/selection-strategies-types.ts
b/src/pools/selection-strategies/selection-strategies-types.ts
index 065b310fa5e8a3454f84d5b0edd6324c7c2d0520..f9a504351a4bbbe9d33bddc145c457a7ce27ef78 100644
(file)
--- a/
src/pools/selection-strategies/selection-strategies-types.ts
+++ b/
src/pools/selection-strategies/selection-strategies-types.ts
@@
-81,4
+81,10
@@
export interface IWorkerChoiceStrategy {
* @param workerNodeKey - The worker node key.
*/
remove: (workerNodeKey: number) => boolean
* @param workerNodeKey - The worker node key.
*/
remove: (workerNodeKey: number) => boolean
+ /**
+ * Sets the worker choice strategy options.
+ *
+ * @param opts - The worker choice strategy options.
+ */
+ setOptions: (opts: WorkerChoiceStrategyOptions) => void
}
}