Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
42
func
(q *asyncQueue) stop() {
43
close(q.stopCh)
44
q.workers.Wait()
45
}
46
47
func
(q *asyncQueue) asyncQueueProcessLoop() {
48
defer
q.workers.Done()
Callers
4
Stop
Method · 0.45
TestAsyncQueue_Run
Function · 0.45
TestAsyncQueue_QueueFullError
Function · 0.45
Stop
Method · 0.45
Calls
1
Wait
Method · 0.45
Tested by
2
TestAsyncQueue_Run
Function · 0.36
TestAsyncQueue_QueueFullError
Function · 0.36