def OutgoingContext.with_state

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

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

2527# An outgoing context that sends `state`, such as the state received with the
2528# parent of a child operation. The caller associates the state with this
2529# operation, as with Context.from_ids.
2530def OutgoingContext.with_state(context: LocalContext, state: TraceState) -> OutgoingContext:
2531  OutgoingContext{context, state}

Uses (3)

Used by (2)