MCPcopy Create free account
hub / github.com/coder/coder / nextAttemptNumber

Method nextAttemptNumber

coderd/x/chatd/chatdebug/recorder.go:45–50  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

43}
44
45func (s *attemptSink) nextAttemptNumber() int {
46 if s == nil {
47 panic("chatdebug: nil attemptSink")
48 }
49 return int(s.attemptCounter.Add(1))
50}
51
52func (s *attemptSink) record(a Attempt) {
53 s.mu.Lock()

Calls 1

AddMethod · 0.65