4 lines
90 B
JavaScript
4 lines
90 B
JavaScript
|
onmessage = function(e) {
|
||
|
self.setInterval(() => postMessage(true), e.data.interval);
|
||
|
}
|