span
Executes a function within the scope of a tracing span.
Return
The result produced by the function f
.
Parameters
T
The type of the result produced by the function.
name
The name of the span.
f
A function to be executed within the span context.