Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/CodisLabs/codis
/ After
Method
After
pkg/proxy/delay.go:34–37 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
32
}
33
34
func
(d *DelayExp2) After() <-
chan
time.Time {
35
total := d.NextValue()
36
return
time.After(d.Unit * time.Duration(total))
37
}
38
39
func
(d *DelayExp2) Sleep() {
40
total := d.NextValue()
Callers
nothing calls this directly
Calls
3
NextValue
Method · 0.95
Duration
Method · 0.80
After
Method · 0.65
Tested by
no test coverage detected