MCPcopy Create free account
hub / github.com/go-dev-frame/sponge / Wait

Method Wait

pkg/sse/client.go:129–131  ·  view source on GitHub ↗

Wait returns a channel that will be closed when the client is disconnected.

()

Source from the content-addressed store, hash-verified

127
128// Wait returns a channel that will be closed when the client is disconnected.
129func (c *SSEClient) Wait() <-chan struct{} {
130 return c.stopCh
131}
132
133// GetConnectStatus get connect status
134func (c *SSEClient) GetConnectStatus() bool {

Callers 15

SetMethod · 0.45
TestRateLimiterFunction · 0.45
TestCircuitBreakerFunction · 0.45
TestBBRFunction · 0.45
TestBalancerConcurrencyFunction · 0.45
RunMethod · 0.45
testLockAndUnlockFunction · 0.45
TestUnix_TryGracefulExitFunction · 0.45
CloseMethod · 0.45

Calls

no outgoing calls

Tested by 13

TestRateLimiterFunction · 0.36
TestCircuitBreakerFunction · 0.36
TestBBRFunction · 0.36
TestBalancerConcurrencyFunction · 0.36
testLockAndUnlockFunction · 0.36
TestUnix_TryGracefulExitFunction · 0.36