Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
78
func
(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。
85
func
(p *UsagePusher) Run(ctx context.Context) error {
Callers
2
tick
Method · 0.95
TestIntegration_UsagePushAck
Function · 0.95
Calls
no outgoing calls
Tested by
1
TestIntegration_UsagePushAck
Function · 0.76