@grow-codes/apache-skywalking - v0.1.1
    Preparing search index...

    Function traced

    • traced(fn, name?) returns fn wrapped in withSpan. @traced() / @traced("name") / @traced({ name, attributes, kind }) is a method decorator (standard and experimentalDecorators).

      Type Parameters

      Parameters

      Returns F

    • traced(fn, name?) returns fn wrapped in withSpan. @traced() / @traced("name") / @traced({ name, attributes, kind }) is a method decorator (standard and experimentalDecorators).

      Parameters

      Returns <T>(target: T, ...rest: unknown[]) => T