Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/GoEdgeLab/EdgeNode
/ init
Function
init
internal/utils/agents/queue.go:16–26 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
14
)
15
16
func
init() {
17
if
!teaconst.IsMain {
18
return
19
}
20
21
events.On(events.EventLoaded,
func
() {
22
goman.New(
func
() {
23
SharedQueue.Start()
24
})
25
})
26
}
27
28
var
SharedQueue = NewQueue()
29
Callers
nothing calls this directly
Calls
3
On
Function · 0.92
New
Function · 0.92
Start
Method · 0.65
Tested by
no test coverage detected