Demonstrates the most general way to use kiss-worker
with an object, see
Worker Code Isolation.
You can play with this on StackBlitz or on your computer (requires node >=18.18):
git clone https://github.com/andreashuber69/kiss-worker-demo4.git
cd kiss-worker-demo4
npm install
npm start