withGenerationSpan
此内容尚不支持你的语言。
const withGenerationSpan: <TOutput>(fn, options?, parent?) => Promise<TOutput>;Automatically create a generation span, run fn and close the span
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
|
|
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
( |
|
|
|
|
|
Returns
Section titled “Returns”Promise<TOutput>