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

Function WithTaskReporter

codersdk/toolsdk/toolsdk.go:99–103  ·  view source on GitHub ↗
(fn func(ReportTaskArgs) error)

Source from the content-addressed store, hash-verified

97}
98
99func WithTaskReporter(fn func(ReportTaskArgs) error) func(*Deps) {
100 return func(d *Deps) {
101 d.report = fn
102 }
103}
104
105// WithAgentConnFunc overrides how workspace tools open logical connections to
106// workspace agents.

Callers 3

TestToolsFunction · 0.92
startServerMethod · 0.92

Calls

no outgoing calls

Tested by 2

TestToolsFunction · 0.74