Documentation
    Preparing search index...
    • Decorator that creates a trace span for the decorated async method logic. using the typescript decorators stage 3, which available in typescript v5 and above. requires the "experimentalDecorators" compiler option to be false.

      Type Parameters

      • Args extends unknown[]
      • Return

      Parameters

      • target: (this: unknown, ...args: Args) => Promise<Return>

        the async method to decorate

      • context: ClassMethodDecoratorContext<
            unknown,
            (this: unknown, ...args: Args) => Promise<Return>,
        >

        the class method decorator context

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

      the decorated async method