Source code
Revision control
Copy as Markdown
Other Tools
function loop() {
self.clients.matchAll().then(function (result) {
setTimeout(loop, 0);
});
}
onactivate = function (e) {
// spam matchAll until the worker is closed.
loop();
};