MCPcopy Create free account
hub / github.com/0xUnixIO/pulse / currentSender

Method currentSender

internal/nodeagent/usage.go:78–82  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

76}
77
78func (p *UsagePusher) currentSender() Sender {
79 p.mu.Lock()
80 defer p.mu.Unlock()
81 return p.sender
82}
83
84// Run 阻塞循环 push usage,直到 ctx done。
85func (p *UsagePusher) Run(ctx context.Context) error {

Callers 2

tickMethod · 0.95

Calls

no outgoing calls

Tested by 1