MCPcopy Create free account
hub / github.com/encodeous/nylon / newHandshakeQueue

Function newHandshakeQueue

polyamide/device/channels.go:62–72  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

60}
61
62func newHandshakeQueue() *handshakeQueue {
63 q := &handshakeQueue{
64 c: make(chan QueueHandshakeElement, QueueHandshakeSize),
65 }
66 q.wg.Add(1)
67 go func() {
68 q.wg.Wait()
69 close(q.c)
70 }()
71 return q
72}
73
74type autodrainingInboundQueue struct {
75 c chan *QueueInboundElementsContainer

Callers 1

NewDeviceFunction · 0.85

Calls 1

WaitMethod · 0.45

Tested by

no test coverage detected