mpp-frontend-dev/workerTimer.js

6 lines
131 B
JavaScript
Raw Normal View History

2021-05-24 18:30:16 +02:00
self.onmessage = function(event)
{
setTimeout(function(){
postMessage({args:event.data.args});
},event.data.delay);
}