def SpanPlan.draw

bend-trace-context@0.2.0.0 · trace_context.bend:1286

import bend-trace-context@0.2.0.0/trace_context.bend as TraceContext
import Base

1286# The generation that draws the span ID of a plan, from its first candidate.
1287def SpanPlan.draw(plan: SpanPlan) -> Step:
1288  match plan:
1289    case SpanPlan{excluded, trace_id, sampled}:
1290      Step.of_span(SpanDraw.start(excluded), trace_id, sampled)

Uses (4)

Used by (2)