feat: conditional task performance computation at the worker level
authorJérôme Benoit <jerome.benoit@sap.com>
Tue, 6 Jun 2023 17:56:29 +0000 (19:56 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Tue, 6 Jun 2023 17:56:29 +0000 (19:56 +0200)
commitb6b3245344bd453ea91fa3d74acd5145f70d84fd
tree79cf1dc4dc202fb6475d189eccdaa03206a2c146
parent8d20e449d72975f6add9177d1097d5a204d14f71
feat: conditional task performance computation at the worker level

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
21 files changed:
CHANGELOG.md
src/index.ts
src/pools/abstract-pool.ts
src/pools/selection-strategies/abstract-worker-choice-strategy.ts
src/pools/selection-strategies/fair-share-worker-choice-strategy.ts
src/pools/selection-strategies/interleaved-weighted-round-robin-worker-choice-strategy.ts
src/pools/selection-strategies/least-busy-worker-choice-strategy.ts
src/pools/selection-strategies/least-used-worker-choice-strategy.ts
src/pools/selection-strategies/round-robin-worker-choice-strategy.ts
src/pools/selection-strategies/selection-strategies-types.ts
src/pools/selection-strategies/weighted-round-robin-worker-choice-strategy.ts
src/pools/selection-strategies/worker-choice-strategy-context.ts
src/pools/worker.ts
src/utility-types.ts
src/worker/abstract-worker.ts
src/worker/cluster-worker.ts
src/worker/thread-worker.ts
src/worker/worker-functions.ts [new file with mode: 0644]
tests/pools/abstract/abstract-pool.test.js
tests/pools/selection-strategies/selection-strategies.test.js
tests/pools/selection-strategies/worker-choice-strategy-context.test.js