Skip to content

withSpeechSpan

const withSpeechSpan: <TOutput>(fn, ...args) => Promise<TOutput>;
Type Parameter

TOutput

Parameter Type

fn

(span) => Promise<TOutput>

args

[DeepPartial<CreateSpanOptions<SpeechSpanData>> & object, | Trace | Span<any>]

Promise<TOutput>