()
| 1776 | const idToTimeout = new Map<number, string>(); |
| 1777 | |
| 1778 | function resetCounters() { |
| 1779 | idleCallbacksRequested = 0; |
| 1780 | idleCallbacksInvoked = 0; |
| 1781 | idleCallbacksCancelled = 0; |
| 1782 | capturedOptions = undefined; |
| 1783 | activePerTimeout.clear(); |
| 1784 | idToTimeout.clear(); |
| 1785 | } |
| 1786 | resetCounters(); |
| 1787 | |
| 1788 | let nativeRequestIdleCallback: ( |