Run this code:
```
const webDbWorker = new SharedWorker('/worker/webDatabase');
webDbWorker.port.onmessage = function (e) {
console.log('message from worker: ', e.data);
};
const message: WorkerRequestMessage = {
type: workerRequestMessageTypes.PING,
text: 'hi from app',
};
webDbWorker.port.postMessage(message);
```
and check results in browser, desktop and shared worker consoles.