fix: ensure worker removal impact is propated to worker choice strategy
[poolifier.git] / src / pools / selection-strategies / abstract-worker-choice-strategy.ts
index 5b526331824be72af5048eb8c76fe26b001a373a..b181273375777830ce5c2e5ebf1a504227994dcd 100644 (file)
@@ -41,4 +41,7 @@ export abstract class AbstractWorkerChoiceStrategy<
 
   /** {@inheritDoc} */
   public abstract choose (): number
+
+  /** {@inheritDoc} */
+  public abstract remove (workerKey: number): boolean
 }