def Service.outgoing

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

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

3794# The service's operation with the state it sends; None{} without one.
3795def Service.outgoing(service: Service) -> Maybe<&2, OutgoingContext>:
3796  match service:
3797    case Operating{origin, outgoing, received}:
3798      Some{outgoing}
3799    case Untraced{error, received}:
3800      None{}

Uses (3)

Used by (0)

No other definition uses this definition.