()
| 37 | const nextFrame = () => |
| 38 | new Promise<void>((resolve) => { |
| 39 | const done = () => { |
| 40 | cancelAnimationFrame(animationFrameId); |
| 41 | clearTimeout(timeoutId); |
| 42 | resolve(); |
| 43 | }; |
| 44 | const animationFrameId = requestAnimationFrame(done); |
| 45 | const timeoutId = setTimeout(done, 50); |
| 46 | }); |
nothing calls this directly
no outgoing calls
no test coverage detected