docs: refine code comments
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Sun, 3 Sep 2023 09:12:57 +0000 (11:12 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Sun, 3 Sep 2023 09:12:57 +0000 (11:12 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
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