diff options
author | Florian Dold <florian.dold@gmail.com> | 2015-12-16 10:48:54 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2015-12-16 10:48:54 +0100 |
commit | 22246ea15692fd6e6cfde2e3768e000bc782eb36 (patch) | |
tree | be27dcbc2220018e4d83bcb6f7de628b4941fc0a /extension | |
parent | 92e8baa5acd3db8a2322518a1f98305d5038d3a2 (diff) | |
download | wallet-core-22246ea15692fd6e6cfde2e3768e000bc782eb36.tar.xz |
web worker
Diffstat (limited to 'extension')
-rw-r--r-- | extension/background/timerThread.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/extension/background/timerThread.js b/extension/background/timerThread.js new file mode 100644 index 000000000..a42b0edf6 --- /dev/null +++ b/extension/background/timerThread.js @@ -0,0 +1,3 @@ +onmessage = function(e) { + self.setInterval(() => postMessage(true), e.data.interval); +} |