mpp-dev-but-mppnet/public/workerTimer.js

6 lines
134 B
JavaScript
Raw Normal View History

2024-02-04 02:23:40 +01:00
self.onmessage = function (event) {
setTimeout(function () {
postMessage({ args: event.data.args });
}, event.data.delay);
};