fix: ensure task error proper throw with worker-threads
authorJérôme Benoit <jerome.benoit@sap.com>
Sun, 2 Jul 2023 15:13:05 +0000 (17:13 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Sun, 2 Jul 2023 15:13:05 +0000 (17:13 +0200)
commit985d0e7986b2cad23bb08ae0561b2a6ff9afdf9e
tree48dc288b92d21bf54f53af1f49c8f9e322d928e5
parenteb7bf7441d410ca5d9ff9bb08f191ef22399371c
fix: ensure task error proper throw with worker-threads

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