()
| 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 = () => { |
no outgoing calls
no test coverage detected