docs: refine code comments
[poolifier.git] / src / pools / selection-strategies / worker-choice-strategy-context.ts
index e5fddc1b1fc5b400398b2e86bd0ac3b3fd6f97c9..2b3c9fb68b33b1d4925f9dab7be3cf14b123bf88 100644 (file)
@@ -115,7 +115,7 @@ export class WorkerChoiceStrategyContext<
   }
 
   /**
-   * Updates the worker choice strategy internals in the context.
+   * Updates the worker node key in the worker choice strategy internals in the context.
    *
    * @returns `true` if the update is successful, `false` otherwise.
    */
@@ -141,7 +141,7 @@ export class WorkerChoiceStrategyContext<
   }
 
   /**
-   * Removes a worker node key from the worker choice strategy in the context.
+   * Removes the worker node key from the worker choice strategy in the context.
    *
    * @param workerNodeKey - The key of the worker node.
    * @returns `true` if the removal is successful, `false` otherwise.