Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HashLoad/boss
/ Enqueue
Method
Enqueue
core/compiler/graphs/graph.go:188–192 ·
view source on GitHub ↗
(t Node)
Source
from the content-addressed store, hash-verified
186
}
187
188
func
(s *NodeQueue) Enqueue(t Node) {
189
s.lock.Lock()
190
s.items = append(s.items, t)
191
s.lock.Unlock()
192
}
193
194
func
(s *NodeQueue) Dequeue() *Node {
195
s.lock.Lock()
Callers
1
Queue
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected