Binds a parent span to a function, ensuring that the function executes within the context of the span.
The parent span to bind.
The function to bind.
The bound function.
Binds a parent span to a function, ensuring that the function executes within the context of the span.