UNPKG

@mwcp/otel

Version:
6 lines (5 loc) 445 B
import type { DecoratorExecutorParam, DecoratorTraceDataResp, TraceDecoratorOptions } from './trace.service/index.trace.service.js'; /** * @description options.{traceContext|span} may be modified with `traceContext` returned by `before()` or `after()` */ export declare function processDecoratorBeforeAfterAsync(type: 'before' | 'after' | 'afterThrow', options: DecoratorExecutorParam<TraceDecoratorOptions>): Promise<DecoratorTraceDataResp>;