blob: 3eddbe11911d712440edf009651bcc695c26bd2a (
plain)
1
2
3
4
5
6
7
8
9
10
|
function loop() {
self.clients.matchAll().then(function(result) {
setTimeout(loop, 0);
});
}
onactivate = function(e) {
// spam matchAll until the worker is closed.
loop();
};
|