docs: refine code comment
[poolifier.git] / src / pools / abstract-pool.ts
index d71b724446ff150d983329233668e19c2e63f6b5..12ad699511efdc9e812d893e66c6233091fc1c9d 100644 (file)
@@ -1054,7 +1054,7 @@ export abstract class AbstractPool<
    *
    * @param workerNodeKey - The worker node key.
    * @param name - The task function name.
-   * @returns The task function worker choice priority if the task function worker choice priority is defined, `undefined` otherwise.
+   * @returns The worker node task function priority if the worker node task function priority is defined, `undefined` otherwise.
    */
   private readonly getWorkerNodeTaskFunctionPriority = (
     workerNodeKey: number,