I want to create a WebApplication that displays notifications from time to time. As PWA with a ServiceWorker it runs in the background even if the browser is closed.
I learned that I need to use the PushAPI to subscribe to a server that sends push messages. The event handler then displays the actual notification.
Since my app is self-contained there is no need for an external server. I'd rather write some code that mimics a push event similar to setTimeout().
Is this possible?