X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fpools%2Fpool.ts;h=ccb4b5b94ef858ad00c0eb5a28c490651854489e;hb=59ca7cfff23a8ad84efaf61ab8c1015e67e97c24;hp=82f3d8d91f05fd4f921a7feb17a901a44e84f966;hpb=bcfb06ce041a682baf396a099c633a848d6a4045;p=poolifier.git diff --git a/src/pools/pool.ts b/src/pools/pool.ts index 82f3d8d9..ccb4b5b9 100644 --- a/src/pools/pool.ts +++ b/src/pools/pool.ts @@ -348,10 +348,11 @@ export interface IPool< * Sets the worker choice strategy options in this pool. * * @param workerChoiceStrategyOptions - The worker choice strategy options. + * @returns `true` if the worker choice strategy options were set, `false` otherwise. */ readonly setWorkerChoiceStrategyOptions: ( workerChoiceStrategyOptions: WorkerChoiceStrategyOptions - ) => void + ) => boolean /** * Enables/disables the worker node tasks queue in this pool. *