Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
114
func
WithInterval(d time.Duration) Option {
115
return
func
(b *Batcher) {
116
b.interval = d
117
}
118
}
119
120
func
WithLogger(log slog.Logger) Option {
121
return
func
(b *Batcher) {
Callers
1
TestWorkspaceAgent_Metadata
Function · 0.92
Calls
no outgoing calls
Tested by
1
TestWorkspaceAgent_Metadata
Function · 0.74