MCPcopy
hub / github.com/codeaashu/claude-code / isStale

Function isStale

src/hooks/useVoice.ts:359–359  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

357 // session's gen and every staleness check would be a no-op.
358 const myGen = sessionGenRef.current
359 const isStale = () => sessionGenRef.current !== myGen
360 logForDebugging('[voice] Recording stopped')
361
362 // Send finalize and wait for the WebSocket to close before reading the

Callers 2

finishRecordingFunction · 0.85
attemptConnectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected