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

Function newStateCapturingCC

balancer/rls/balancer_test.go:673–678  ·  view source on GitHub ↗
(cc balancer.ClientConn)

Source from the content-addressed store, hash-verified

671}
672
673func newStateCapturingCC(cc balancer.ClientConn) *stateCapturingCC {
674 return &stateCapturingCC{
675 ClientConn: cc,
676 stateCh: make(chan balancer.State, 10), // Some operations result in multiple UpdateState calls.
677 }
678}
679
680// Test that when a data cache entry is evicted due to config change
681// in cache size, the picker is updated accordingly.

Calls

no outgoing calls

Tested by

no test coverage detected