MCPcopy
hub / github.com/grpc/grpc-go / commitAttempt

Method commitAttempt

stream.go:677–681  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

675}
676
677func (cs *clientStream) commitAttempt() {
678 cs.mu.Lock()
679 cs.commitAttemptLocked()
680 cs.mu.Unlock()
681}
682
683// shouldRetry returns nil if the RPC should be retried; otherwise it returns
684// the error that should be returned by the operation. If the RPC should be

Callers 2

ContextMethod · 0.95
TrailerMethod · 0.95

Calls 3

commitAttemptLockedMethod · 0.95
LockMethod · 0.45
UnlockMethod · 0.45

Tested by

no test coverage detected