docs: refine documentation
[poolifier.git] / src / pools / selection-strategies / abstract-worker-choice-strategy.ts
index 44e7e3f8b5ea01b7c707e0754f580b9181ea9a4b..332b3fc103bdffcd2e0339d1153651441d2c29da 100644 (file)
@@ -15,8 +15,8 @@ import type {
  */
 export abstract class AbstractWorkerChoiceStrategy<
   Worker extends IPoolWorker,
-  Data,
-  Response
+  Data = unknown,
+  Response = unknown
 > implements IWorkerChoiceStrategy<Worker, Data, Response> {
   /** {@inheritDoc} */
   public readonly isDynamicPool: boolean
@@ -27,7 +27,7 @@ export abstract class AbstractWorkerChoiceStrategy<
   }
 
   /**
-   * Constructs a worker choice strategy attached to the pool.
+   * Constructs a worker choice strategy bound to the pool.
    *
    * @param pool - The pool instance.
    */