跳转到内容

createTaskSpan

此内容尚不支持你的语言。

function createTaskSpan(options?, parent?): Span<TaskSpanData>;

Create a new task span. A task represents one top-level Runner invocation. The span will not be started automatically.

Parameter Type

options?

DeepPartial<CreateSpanOptions<TaskSpanData>>

parent?

| Trace | Span<any>

Span<TaskSpanData>