MCPcopy Index your code
hub / github.com/coder/coder / Close

Method Close

coderd/database/pubsub/pubsub.go:152–157  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

150}
151
152func (q *MsgQueue) Close() {
153 q.cond.L.Lock()
154 defer q.cond.L.Unlock()
155 defer q.cond.Broadcast()
156 q.closed = true
157}
158
159// Dropped records an error in the queue that messages might have been Dropped
160func (q *MsgQueue) Dropped() {

Callers 3

Test_MsgQueue_ListenerFunction · 0.95
Test_MsgQueue_FullFunction · 0.95

Calls 2

LockMethod · 0.45
UnlockMethod · 0.45

Tested by 3

Test_MsgQueue_ListenerFunction · 0.76
Test_MsgQueue_FullFunction · 0.76