docs: sync worker choice context constructor comment
[poolifier.git] / src / pools / selection-strategies / selection-strategies-types.ts
index fb864c5b08ffc31a3cb1336225d31f285b0ce240..2c6c2e16d6e4d52e7f19841e6d6f331db3d678f9 100644 (file)
@@ -30,7 +30,7 @@ export const WorkerChoiceStrategies = Object.freeze({
 export type WorkerChoiceStrategy = keyof typeof WorkerChoiceStrategies
 
 /**
- * Pool tasks usage statistics requirements.
+ * Pool worker tasks usage statistics requirements.
  */
 export interface RequiredStatistics {
   runTime: boolean
@@ -41,10 +41,6 @@ export interface RequiredStatistics {
  * Worker choice strategy interface.
  */
 export interface IWorkerChoiceStrategy {
-  /**
-   * Is the pool attached to the strategy dynamic?.
-   */
-  readonly isDynamicPool: boolean
   /**
    * Required pool tasks usage statistics.
    */