feat: add a kill handler to worker to allow to run custom code at worker
authorJérôme Benoit <jerome.benoit@sap.com>
Mon, 14 Aug 2023 14:22:57 +0000 (16:22 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Mon, 14 Aug 2023 14:22:57 +0000 (16:22 +0200)
commitdf9aaf207bf2e96ed759f9b89fa6573e8c48fb65
treec0bff8a0035a24f243ef938437713e18a098fe69
parent58399427588adb63380e6bfe955dbdf4ea8ea8a5
feat: add a kill handler to worker to allow to run custom code at worker
termination

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
rome.json
src/worker/abstract-worker.ts
src/worker/worker-options.ts
tests/worker/abstract-worker.test.js