MCPcopy
hub / github.com/apache/devlake / QueueIterator

Struct QueueIterator

backend/helpers/pluginhelper/api/iterator.go:148–150  ·  view source on GitHub ↗

QueueIterator implements Iterator based on Queue

Source from the content-addressed store, hash-verified

146
147// QueueIterator implements Iterator based on Queue
148type QueueIterator struct {
149 queue *Queue
150}
151
152// HasNext increments the row cursor. If we're at the end, it'll return false.
153func (q *QueueIterator) HasNext() bool {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected