wallet-core/extension/background/timerThread.js
2015-12-16 10:48:54 +01:00

4 lines
90 B
JavaScript

onmessage = function(e) {
self.setInterval(() => postMessage(true), e.data.interval);
}