MCPcopy Create free account
hub / github.com/RTradeLtd/Lens / IsStopped

Method IsStopped

engine/queue/queue.go:133–138  ·  view source on GitHub ↗

IsStopped checks if the queue is still running and active

()

Source from the content-addressed store, hash-verified

131
132// IsStopped checks if the queue is still running and active
133func (q *Queue) IsStopped() bool {
134 q.smux.RLock()
135 var stopped = q.stopped
136 q.smux.RUnlock()
137 return stopped
138}
139
140func (q *Queue) flushIfNeeded() {
141 if q.pending >= q.batchSize {

Callers 5

CloseMethod · 0.95
IndexMethod · 0.80
RemoveMethod · 0.80
CloseMethod · 0.80
TestQueue_IsStoppedFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestQueue_IsStoppedFunction · 0.64