()
| 1756 | const idToTimeout = new Map<number, string>(); |
| 1757 | |
| 1758 | function resetCounters() { |
| 1759 | idleCallbacksRequested = 0; |
| 1760 | idleCallbacksInvoked = 0; |
| 1761 | idleCallbacksCancelled = 0; |
| 1762 | capturedOptions = undefined; |
| 1763 | activePerTimeout.clear(); |
| 1764 | idToTimeout.clear(); |
| 1765 | } |
| 1766 | resetCounters(); |
| 1767 | |
| 1768 | let nativeRequestIdleCallback: ( |