X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fpools%2Fselection-strategies%2Fselection-strategies-types.ts;h=f9a504351a4bbbe9d33bddc145c457a7ce27ef78;hb=a20f0ba5aa9c6946254aa197286ad9b70b6a0319;hp=065b310fa5e8a3454f84d5b0edd6324c7c2d0520;hpb=71ebe93bc57165070056097e96efc45b15a580e6;p=poolifier.git diff --git a/src/pools/selection-strategies/selection-strategies-types.ts b/src/pools/selection-strategies/selection-strategies-types.ts index 065b310f..f9a50435 100644 --- 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 + /** + * Sets the worker choice strategy options. + * + * @param opts - The worker choice strategy options. + */ + setOptions: (opts: WorkerChoiceStrategyOptions) => void }