MCPcopy
hub / github.com/grafana/dskit / stop

Method stop

cache/async_queue.go:42–45  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

40}
41
42func (q *asyncQueue) stop() {
43 close(q.stopCh)
44 q.workers.Wait()
45}
46
47func (q *asyncQueue) asyncQueueProcessLoop() {
48 defer q.workers.Done()

Callers 4

StopMethod · 0.45
TestAsyncQueue_RunFunction · 0.45
StopMethod · 0.45

Calls 1

WaitMethod · 0.45

Tested by 2

TestAsyncQueue_RunFunction · 0.36