(timestamp: number)
| 40 | }; |
| 41 | |
| 42 | const tick = (timestamp: number) => { |
| 43 | if (lastFrame !== undefined) { |
| 44 | globalWindow.__chartKitScrubFrameSamples?.push(timestamp - lastFrame); |
| 45 | } |
| 46 | |
| 47 | lastFrame = timestamp; |
| 48 | |
| 49 | if (active) { |
| 50 | requestAnimationFrame(tick); |
| 51 | } |
| 52 | }; |
| 53 | |
| 54 | requestAnimationFrame(tick); |
| 55 | }); |
nothing calls this directly
no outgoing calls
no test coverage detected