TraceContext.OutgoingContext.emit: def of bend-trace-context@0.2.0.0 Import: import bend-trace-context@0.2.0.0/trace_context.bend as TraceContext Lines 2569-2576 of bend-trace-context@0.2.0.0/trace_context.bend: https://jend.leeeet.dev/read.txt?path=bend-trace-context@0.2.0.0/trace_context.bend&start_line=2569&end_line=2576 import Base # The traceparent and tracestate values to send: the participating # traceparent of the context, and the normalized value of the state # truncated to the output budget of `limits` (laws emit_traceparent, # emit_tracestate, emit_fits and emit_accepted). def OutgoingContext.emit(limits: Limits, outgoing: OutgoingContext) -> Emission: match outgoing: case OutgoingContext{context, state}: Emission.of(context, TraceState.truncate(limits, state)) Uses (5): https://jend.leeeet.dev/definition.txt?path=bend-trace-context@0.2.0.0/trace_context.bend&name=Emission https://jend.leeeet.dev/definition.txt?path=bend-trace-context@0.2.0.0/trace_context.bend&name=Emission.of https://jend.leeeet.dev/definition.txt?path=bend-trace-context@0.2.0.0/trace_context.bend&name=Limits https://jend.leeeet.dev/definition.txt?path=bend-trace-context@0.2.0.0/trace_context.bend&name=OutgoingContext https://jend.leeeet.dev/definition.txt?path=bend-trace-context@0.2.0.0/trace_context.bend&name=TraceState.truncate