From 6533c3e6b6a95daade8d20577d6b816512e2aeeb Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Wed, 5 Apr 2023 23:32:13 +0200 Subject: [PATCH] docs: refine documentation MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- CHANGELOG.md | 2 +- .../selection-strategies/abstract-worker-choice-strategy.ts | 2 +- src/pools/selection-strategies/selection-strategies-types.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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 /** -- 2.34.1