Documentation
    Preparing search index...
    • Decorator that creates a trace span for the decorated async method logic. using the typescript decorators stage 2. requires the "experimentalDecorators" compiler option to be true. It also requires the class to have a 'tracer' property of type Tracer.

      Type Parameters

      • Args extends unknown[]

      Parameters

      • _target: unknown

        the class prototype

      • propertyKey: string | symbol

        the name of the decorated async method

      • Optionaldescriptor: TypedPropertyDescriptor<(this: unknown, ...args: Args) => Promise<any>>

        the async method descriptor

      Returns TypedPropertyDescriptor<(this: unknown, ...args: Args) => Promise<any>>

      the decorated descriptor