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

Function NewAsyncRecorder

aibridge/recorder/recorder.go:160–162  ·  view source on GitHub ↗
(logger slog.Logger, wrapped Recorder, timeout time.Duration)

Source from the content-addressed store, hash-verified

158}
159
160func NewAsyncRecorder(logger slog.Logger, wrapped Recorder, timeout time.Duration) *AsyncRecorder {
161 return &AsyncRecorder{logger: logger, wrapped: wrapped, timeout: timeout}
162}
163
164func (a *AsyncRecorder) WithMetrics(m any) {
165 if m, ok := m.(*metrics.Metrics); ok {

Callers 1

newInterceptionProcessorFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected