Skip to content

Commit 7485d0d

Browse files
aranjansprintchard
authored andcommitted
client: Stabilize WaitForStateChange API (grpc#7425)
1 parent 05ba740 commit 7485d0d

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

clientconn.go

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -627,11 +627,6 @@ type ClientConn struct {
627627

628628
// WaitForStateChange waits until the connectivity.State of ClientConn changes from sourceState or
629629
// ctx expires. A true value is returned in former case and false in latter.
630-
//
631-
// # Experimental
632-
//
633-
// Notice: This API is EXPERIMENTAL and may be changed or removed in a
634-
// later release.
635630
func (cc *ClientConn) WaitForStateChange(ctx context.Context, sourceState connectivity.State) bool {
636631
ch := cc.csMgr.getNotifyChan()
637632
if cc.csMgr.getState() != sourceState {
@@ -646,11 +641,6 @@ func (cc *ClientConn) WaitForStateChange(ctx context.Context, sourceState connec
646641
}
647642

648643
// GetState returns the connectivity.State of ClientConn.
649-
//
650-
// # Experimental
651-
//
652-
// Notice: This API is EXPERIMENTAL and may be changed or removed in a later
653-
// release.
654644
func (cc *ClientConn) GetState() connectivity.State {
655645
return cc.csMgr.getState()
656646
}

0 commit comments

Comments
 (0)