docs: sync worker choice context constructor comment
authorJérôme Benoit <jerome.benoit@sap.com>
Sat, 8 Apr 2023 10:37:13 +0000 (12:37 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Sat, 8 Apr 2023 10:51:52 +0000 (12:51 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/pools/selection-strategies/worker-choice-strategy-context.ts

index 826a89d9d6ce19c3f362f918785653c3056ba42e..192cf005805ecfd70c70a337c9a7ac078ce46abb 100644 (file)
@@ -33,8 +33,7 @@ export class WorkerChoiceStrategyContext<
    * Worker choice strategy context constructor.
    *
    * @param pool - The pool instance.
-   * @param createWorkerCallback - The worker creation callback for dynamic pool.
-   * @param workerChoiceStrategy - The worker choice strategy.
+   * @param workerChoiceStrategyType - The worker choice strategy.
    */
   public constructor (
     pool: IPoolInternal<Worker, Data, Response>,