()
| 26 | let callback; |
| 27 | time = Math.max(0, +time || 0); |
| 28 | function checkTime() { |
| 29 | timer = null; |
| 30 | if (performance.now() >= startTime) callback(); |
| 31 | else checkTimer(); |
| 32 | } |
| 33 | function checkTimer() { |
| 34 | if (!timer) { |
| 35 | const delta = startTime - performance.now(); |
nothing calls this directly
no test coverage detected