MCPcopy Create free account
hub / github.com/devaccuracy/ledgerforge / hasWork

Function hasWork

tests/loadtest/tools/queue_benchmark.go:335–337  ·  view source on GitHub ↗
(s snapshot)

Source from the content-addressed store, hash-verified

333}
334
335func hasWork(s snapshot) bool {
336 return s.pending+s.active+s.scheduled+s.retry+s.aggregating > 0
337}
338
339func isDrained(s snapshot) bool {
340 return !hasWork(s)

Callers 2

mainFunction · 0.85
isDrainedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected