MCPcopy Create free account
hub / github.com/Hidden-Node/GooseRelayVPN-AndroidClient / Broadcast

Method Broadcast

internal/carrier/client.go:266–271  ·  view source on GitHub ↗

Broadcast unblocks all goroutines currently waiting on C().

()

Source from the content-addressed store, hash-verified

264
265// Broadcast unblocks all goroutines currently waiting on C().
266func (w *waker) Broadcast() {
267 w.mu.Lock()
268 defer w.mu.Unlock()
269 close(w.ch)
270 w.ch = make(chan struct{})
271}
272
273// Client owns the session map and the long-poll loop.
274type Client struct {

Callers 6

kickMethod · 0.80
fireCoalesceWakeMethod · 0.80
RequestCloseMethod · 0.80
drainTxMethod · 0.80
RollbackDrainMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected