MCPcopy
hub / github.com/grafana/tempo / constantInterval

Function constantInterval

modules/generator/registry/job.go:31–35  ·  modules/generator/registry/job.go::constantInterval
(interval time.Duration)

Source from the content-addressed store, hash-verified

29}
30
31func constantInterval(interval time.Duration) func() time.Duration {
32 return func() time.Duration {
33 return interval
34 }
35}

Callers 1

NewFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected