()
| 139 | let watcher: FSWatcher | null = null |
| 140 | |
| 141 | const debouncedCheck = (): void => { |
| 142 | if (debounceTimerRef.current) { |
| 143 | clearTimeout(debounceTimerRef.current) |
| 144 | } |
| 145 | debounceTimerRef.current = setTimeout( |
| 146 | ref => void ref.current(), |
| 147 | DEBOUNCE_MS, |
| 148 | checkForTasksRef, |
| 149 | ) |
| 150 | } |
| 151 | scheduleCheckRef.current = debouncedCheck |
| 152 | |
| 153 | try { |
no outgoing calls
no test coverage detected