MCPcopy Index your code
hub / github.com/coder/coder / WithInterval

Function WithInterval

coderd/agentapi/metadatabatcher/metadata_batcher.go:114–118  ·  view source on GitHub ↗
(d time.Duration)

Source from the content-addressed store, hash-verified

112}
113
114func WithInterval(d time.Duration) Option {
115 return func(b *Batcher) {
116 b.interval = d
117 }
118}
119
120func WithLogger(log slog.Logger) Option {
121 return func(b *Batcher) {

Callers 1

Calls

no outgoing calls

Tested by 1