fix: fix worker function type definition and validation
authorJérôme Benoit <jerome.benoit@sap.com>
Fri, 14 Apr 2023 20:00:04 +0000 (22:00 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Fri, 14 Apr 2023 20:00:04 +0000 (22:00 +0200)
commitd4aeae5aa9e260c8c2f6d28f3133de368552c108
treefe5c82288b70093acd9c479f2cee3074be1a5456
parent89b09b2646d240a5a30531b2fc742fdba209fa13
fix: fix worker function type definition and validation

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
CHANGELOG.md
src/worker/abstract-worker.ts
src/worker/cluster-worker.ts
src/worker/thread-worker.ts
tests/pools/abstract/abstract-pool.test.js
tests/pools/cluster/dynamic.test.js
tests/pools/cluster/fixed.test.js
tests/pools/selection-strategies/selection-strategies.test.js
tests/pools/thread/dynamic.test.js
tests/pools/thread/fixed.test.js
tests/worker/abstract-worker.test.js