From: Jérôme Benoit Date: Wed, 5 Apr 2023 21:32:13 +0000 (+0200) Subject: docs: refine documentation X-Git-Tag: v2.4.2~9 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=6533c3e6b6a95daade8d20577d6b816512e2aeeb;hp=95c83464bb1fab234d1c41204f98defcd01c789f;p=poolifier.git docs: refine documentation Signed-off-by: Jérôme Benoit --- diff --git a/CHANGELOG.md b/CHANGELOG.md index 30d1e724..7db1df47 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/src/pools/selection-strategies/abstract-worker-choice-strategy.ts b/src/pools/selection-strategies/abstract-worker-choice-strategy.ts index 5b4a2fb5..332b3fc1 100644 --- a/src/pools/selection-strategies/abstract-worker-choice-strategy.ts +++ b/src/pools/selection-strategies/abstract-worker-choice-strategy.ts @@ -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. */ diff --git a/src/pools/selection-strategies/selection-strategies-types.ts b/src/pools/selection-strategies/selection-strategies-types.ts index bf364f92..137c1be7 100644 --- a/src/pools/selection-strategies/selection-strategies-types.ts +++ b/src/pools/selection-strategies/selection-strategies-types.ts @@ -53,7 +53,7 @@ export interface IWorkerChoiceStrategy< */ readonly pool: IPoolInternal /** - * Is the pool attached to the strategy dynamic?. + * Is the pool bound to the strategy dynamic?. */ readonly isDynamicPool: boolean /**