MCPcopy 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
835func (g *streamSilenceGuard) onTimeout() {
836 if !g.settle() {
837 return
838 }
839 g.cancel(errStreamSilenceTimeout)
840}
841
842func (g *streamSilenceGuard) Reset() {
843 g.mu.Lock()

Calls 2

settleMethod · 0.95
cancelMethod · 0.45