Documentation
    Preparing search index...
    • Binds a parent span to a function, ensuring that the function executes within the context of the span.

      Type Parameters

      • T

      Parameters

      • parentSpan: Span

        The parent span to bind.

      • func: T

        The function to bind.

      Returns T

      The bound function.