docs: refine worker choice strategies ToC
[poolifier.git] / src / pools / worker.ts
index 456bf785c74eff79cf45441be1c096633ce1bc11..29050455088c6efd49d8147aed07c41f2a5a004e 100644 (file)
@@ -172,7 +172,9 @@ export interface WorkerUsage {
 }
 
 /**
- * Worker strategy data.
+ * Worker choice strategy data.
+ *
+ * @internal
  */
 export interface StrategyData {
   virtualTaskEndTimestamp?: number
@@ -235,7 +237,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