Based on this answer: Using setInterval in Service worker from three years ago,
I would like to know if is there any way to make a PWA (via service worker or not) to trigger some background function time based and not network related.
I would like to push a notification using the navigator built in notification Chrome API every minute when my PWA is closed.
I see service workers main goals is to cache resources, but in every documentation I see that they are in some way "always active", so I feel one of those event listeners available should do what I am amaing to.