refactor: factor out inputs type check
authorJérôme Benoit <jerome.benoit@sap.com>
Fri, 5 May 2023 21:21:58 +0000 (23:21 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Fri, 5 May 2023 21:21:58 +0000 (23:21 +0200)
commit0d80593b9a7596645612087f687fc6f5cab3101a
tree36bcd0dd777d88831f7dcbb34f2843383b833313
parentd8728beaa590af2bfcb50502ef47546bcc6cb910
refactor: factor out inputs type check

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/pools/abstract-pool.ts
src/pools/selection-strategies/fair-share-worker-choice-strategy.ts
src/pools/selection-strategies/weighted-round-robin-worker-choice-strategy.ts
src/utils.ts
src/worker/abstract-worker.ts
tests/pools/abstract/abstract-pool.test.js
tests/worker/abstract-worker.test.js