MCPcopy
hub / github.com/baetyl/baetyl / Start

Method Start

sync/sync.go:88–93  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

86}
87
88func (s *sync) Start() {
89 if s.link.IsAsyncSupported() {
90 s.tomb.Go(s.receiving)
91 }
92 s.tomb.Go(s.reporting)
93}
94
95func (s *sync) receiving() error {
96 s.log.Debug("subscribe upside")

Callers 1

TestReportAsyncFunction · 0.95

Calls 1

IsAsyncSupportedMethod · 0.65

Tested by 1

TestReportAsyncFunction · 0.76