withFunctionSpan
const withFunctionSpan: <TOutput>(fn, options, parent?) => Promise<TOutput>;
Create a new function span and automatically start and end it.
Type Parameters
Section titled “Type Parameters”Type Parameter |
---|
|
Parameters
Section titled “Parameters”Parameter | Type |
---|---|
|
( |
|
|
|
Returns
Section titled “Returns”Promise
<TOutput
>