( _spanName: string, fn: (span: Span) => Promise<T>, _attributes?: SpanMetadata, )
| 120 | } |
| 121 | |
| 122 | export async function executeInSpan<T>( |
| 123 | _spanName: string, |
| 124 | fn: (span: Span) => Promise<T>, |
| 125 | _attributes?: SpanMetadata, |
| 126 | ): Promise<T> { |
| 127 | return fn(createNoopSpan()) |
| 128 | } |
| 129 | |
| 130 | export function startHookSpan( |
| 131 | _hookEvent: string, |
nothing calls this directly
no test coverage detected