docs: refine code comments
[poolifier.git] / src / pools / worker.ts
index 456bf785c74eff79cf45441be1c096633ce1bc11..5a351df0920244400082391b8d0c0680eb32f7a3 100644 (file)
@@ -172,7 +172,7 @@ export interface WorkerUsage {
 }
 
 /**
- * Worker strategy data.
+ * Worker choice strategy data.
  */
 export interface StrategyData {
   virtualTaskEndTimestamp?: number
@@ -235,7 +235,7 @@ export interface IWorkerNode<Worker extends IWorker, Data = unknown> {
    */
   readonly usage: WorkerUsage
   /**
-   * Worker strategy data.
+   * Worker choice strategy data.
    * This is used to store data that is specific to the worker choice strategy.
    */
   strategyData?: StrategyData