MCPcopy Create free account
hub / github.com/violentmonkey/violentmonkey / checkTimer

Function checkTimer

src/common/util.js:33–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31 else checkTimer();
32 }
33 function checkTimer() {
34 if (!timer) {
35 const delta = startTime - performance.now();
36 timer = setTimeout(checkTime, delta);
37 }
38 }
39 function debouncedFunction(...args) {
40 startTime = performance.now() + time;
41 callback = () => {

Callers 2

checkTimeFunction · 0.85
debouncedFunctionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected