docs: refine documentation
authorJérôme Benoit <jerome.benoit@sap.com>
Wed, 5 Apr 2023 21:32:13 +0000 (23:32 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Wed, 5 Apr 2023 21:32:13 +0000 (23:32 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
CHANGELOG.md
src/pools/selection-strategies/abstract-worker-choice-strategy.ts
src/pools/selection-strategies/selection-strategies-types.ts

index 30d1e724d1890029a61b031da8daccd51eab6723..7db1df47546ab30eddcffc9cc79e575ecd6623b2 100644 (file)
@@ -10,7 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 ### Added
 
 - Add `full` event to dynamic pool.
-- Keep worker choice strategy usage in memory for reuse.
+- Keep worker choice strategy usage in memory for conditional reuse.
 
 ## [2.4.1] - 2023-04-05
 
index 5b4a2fb5f777b4f8b5238a0be7b578dd9b3924ce..332b3fc103bdffcd2e0339d1153651441d2c29da 100644 (file)
@@ -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.
    */
index bf364f923d033e24223afed35b07f3bdaaf1517b..137c1be7562e50309818763f556651aed2034b04 100644 (file)
@@ -53,7 +53,7 @@ export interface IWorkerChoiceStrategy<
    */
   readonly pool: IPoolInternal<Worker, Data, Response>
   /**
-   * Is the pool attached to the strategy dynamic?.
+   * Is the pool bound to the strategy dynamic?.
    */
   readonly isDynamicPool: boolean
   /**