MCPcopy Index your code
hub / github.com/codeaashu/claude-code / debouncedCheck

Function debouncedCheck

src/hooks/useTaskListWatcher.ts:141–150  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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 {

Callers 1

useTaskListWatcherFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected