Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/coder/coder
/ onTimeout
Method
onTimeout
coderd/x/chatd/chatloop/chatloop.go:835–840 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
833
}
834
835
func
(g *streamSilenceGuard) onTimeout() {
836
if
!g.settle() {
837
return
838
}
839
g.cancel(errStreamSilenceTimeout)
840
}
841
842
func
(g *streamSilenceGuard) Reset() {
843
g.mu.Lock()
Callers
2
TestStreamSilenceGuard_DisarmAndFireRace
Function · 0.80
TestStreamSilenceGuard_DisarmPreservesPermanentError
Function · 0.80
Calls
2
settle
Method · 0.95
cancel
Method · 0.45
Tested by
2
TestStreamSilenceGuard_DisarmAndFireRace
Function · 0.64
TestStreamSilenceGuard_DisarmPreservesPermanentError
Function · 0.64