From: Jérôme Benoit Date: Sat, 23 Sep 2023 13:20:24 +0000 (+0200) Subject: docs: refine worker choice strategy comment X-Git-Tag: v2.7.3~15 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=549ee69bac912c53333c5818353fa78c94f00220;p=poolifier.git docs: refine worker choice strategy comment Signed-off-by: Jérôme Benoit --- diff --git a/src/pools/selection-strategies/selection-strategies-types.ts b/src/pools/selection-strategies/selection-strategies-types.ts index 90794ea3..5d490638 100644 --- a/src/pools/selection-strategies/selection-strategies-types.ts +++ b/src/pools/selection-strategies/selection-strategies-types.ts @@ -182,6 +182,7 @@ export interface IWorkerChoiceStrategy { readonly reset: () => boolean /** * Updates the worker node key strategy internals. + * This is called after a task has been executed on a worker node. * * @returns `true` if the update is successful, `false` otherwise. */