refactor: align findFreeWorkerKey() return type with findIndex()
authorJérôme Benoit <jerome.benoit@sap.com>
Tue, 4 Apr 2023 00:20:42 +0000 (02:20 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Tue, 4 Apr 2023 00:20:42 +0000 (02:20 +0200)
commitbf90656cacf88d2cfdd5b3262086ba55b2ff9818
tree95f3d926dc40ae8ddd00ba0ebd592dd38667c96f
parentc141008c44abbc291b45355aa5b8fef5d3ba1de7
refactor: align findFreeWorkerKey() return type with findIndex()

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/pools/abstract-pool.ts
src/pools/pool-internal.ts
src/pools/selection-strategies/dynamic-pool-worker-choice-strategy.ts
src/pools/selection-strategies/fair-share-worker-choice-strategy.ts
src/pools/selection-strategies/less-busy-worker-choice-strategy.ts
src/pools/selection-strategies/less-used-worker-choice-strategy.ts
src/pools/selection-strategies/round-robin-worker-choice-strategy.ts
src/pools/selection-strategies/weighted-round-robin-worker-choice-strategy.ts