mirror of https://github.com/grpc/grpc-go.git
fix a typo
This commit is contained in:
parent
23fea5c44a
commit
2899844430
|
@ -205,7 +205,7 @@ func (cc *ClientConn) State() ConnectivityState {
|
|||
|
||||
// WaitForStateChange blocks until the state changes to something other than the sourceState
|
||||
// or timeout fires on cc. It returns false if timeout fires, and true otherwise.
|
||||
// This is EXPERIEMENTAL API.
|
||||
// This is EXPERIMENTAL API.
|
||||
func (cc *ClientConn) WaitForStateChange(timeout time.Duration, sourceState ConnectivityState) bool {
|
||||
return cc.picker.WaitForStateChange(timeout, sourceState)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue