MCPcopy 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
16func 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
28var SharedQueue = NewQueue()
29

Callers

nothing calls this directly

Calls 3

OnFunction · 0.92
NewFunction · 0.92
StartMethod · 0.65

Tested by

no test coverage detected