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

Method replayBufferLocked

stream.go:916–923  ·  view source on GitHub ↗
(attempt *csAttempt)

Source from the content-addressed store, hash-verified

914}
915
916func (cs *clientStream) replayBufferLocked(attempt *csAttempt) error {
917 for _, f := range cs.replayBuffer {
918 if err := f.op(attempt); err != nil {
919 return err
920 }
921 }
922 return nil
923}
924
925func (cs *clientStream) bufferForRetryLocked(sz int, op func(a *csAttempt) error, cleanup func()) {
926 // Note: we still will buffer if retry is disabled (for transparent retries).

Callers 1

retryLockedMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected