From 1b45313a8f09329306946be7065152d457b5d1a9 Mon Sep 17 00:00:00 2001 From: Abhishek Ranjan <159750762+aranjans@users.noreply.github.com> Date: Thu, 18 Jul 2024 13:43:29 +0530 Subject: [PATCH 1/2] Stabilize WaitForStateChange API --- clientconn.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/clientconn.go b/clientconn.go index 3af8ba490727..86d0cbb89238 100644 --- a/clientconn.go +++ b/clientconn.go @@ -627,11 +627,6 @@ type ClientConn struct { // WaitForStateChange waits until the connectivity.State of ClientConn changes from sourceState or // ctx expires. A true value is returned in former case and false in latter. -// -// # Experimental -// -// Notice: This API is EXPERIMENTAL and may be changed or removed in a -// later release. func (cc *ClientConn) WaitForStateChange(ctx context.Context, sourceState connectivity.State) bool { ch := cc.csMgr.getNotifyChan() if cc.csMgr.getState() != sourceState { From 395ebf1667b1d534bab65f69267a3dbd1bd17cd2 Mon Sep 17 00:00:00 2001 From: Abhishek Ranjan <159750762+aranjans@users.noreply.github.com> Date: Wed, 24 Jul 2024 11:26:09 +0530 Subject: [PATCH 2/2] Stabilize GetState API --- clientconn.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/clientconn.go b/clientconn.go index 86d0cbb89238..db4016dae650 100644 --- a/clientconn.go +++ b/clientconn.go @@ -641,11 +641,6 @@ func (cc *ClientConn) WaitForStateChange(ctx context.Context, sourceState connec } // GetState returns the connectivity.State of ClientConn. -// -// # Experimental -// -// Notice: This API is EXPERIMENTAL and may be changed or removed in a later -// release. func (cc *ClientConn) GetState() connectivity.State { return cc.csMgr.getState() }