MCPcopy
hub / github.com/cloudflare/cloudflared / Wait

Method Wait

signal/safe_signal.go:31–33  ·  view source on GitHub ↗

Wait returns a channel which will be written to when Notify() is called for the first time. This channel will never be written to a second time.

()

Source from the content-addressed store, hash-verified

29// Wait returns a channel which will be written to when Notify() is called for the first time.
30// This channel will never be written to a second time.
31func (s *Signal) Wait() <-chan struct{} {
32 return s.ch
33}

Callers 15

ServeMethod · 0.80
closeMethod · 0.80
ServeMethod · 0.80
TestServeHTTPFunction · 0.80
TestServeControlStreamFunction · 0.80
TestFailRegistrationFunction · 0.80
TestServeTCP_RateLimitedFunction · 0.80
benchmarkServeHTTPFunction · 0.80

Calls

no outgoing calls

Tested by 15

TestServeHTTPFunction · 0.64
TestServeControlStreamFunction · 0.64
TestFailRegistrationFunction · 0.64
TestServeTCP_RateLimitedFunction · 0.64
benchmarkServeHTTPFunction · 0.64
TestStreamTCPConnectionFunction · 0.64