()
| 2048 | }; |
| 2049 | |
| 2050 | const cancelScheduledFlush = (): void => { |
| 2051 | if (flushRafId !== null) { |
| 2052 | cancelAnimationFrame(flushRafId); |
| 2053 | flushRafId = null; |
| 2054 | } |
| 2055 | if (flushTimeoutId !== null) { |
| 2056 | clearTimeout(flushTimeoutId); |
| 2057 | flushTimeoutId = null; |
| 2058 | } |
| 2059 | flushScheduled = false; |
| 2060 | }; |
| 2061 | |
| 2062 | const cancelZoomResampleDebounce = (): void => { |
| 2063 | if (zoomResampleDebounceTimer !== null) { |
no outgoing calls
no test coverage detected