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

Method GetState

internal/testutils/state.go:33–33  ·  view source on GitHub ↗

GetState returns the current state of the StateChanger.

()

Source from the content-addressed store, hash-verified

31 Connect()
32 // GetState returns the current state of the StateChanger.
33 GetState() connectivity.State
34 // WaitForStateChange returns true when the state becomes s, or returns
35 // false if ctx is canceled first.
36 WaitForStateChange(ctx context.Context, s connectivity.State) bool

Implementers 1

ClientConnclientconn.go

Calls

no outgoing calls