MCPcopy
hub / github.com/Doorman11991/smallcode / NoopBackend

Class NoopBackend

src/compiled/cognition/traces.ts:160–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

158}
159
160class NoopBackend implements SpanBackend {
161 async write(_span: CognitionSpan): Promise<void> { /* drop */ }
162 async loadTrace(_trace_id: string): Promise<CognitionSpan[]> { return []; }
163}
164
165function rowToSpan(r: Record<string, unknown>): CognitionSpan {
166 return {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected