def Service.origin

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

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

3786# How the service's operation came about; None{} without an operation.
3787def Service.origin(service: Service) -> Maybe<&2, Origin>:
3788  match service:
3789    case Operating{origin, outgoing, received}:
3790      Some{origin}
3791    case Untraced{error, received}:
3792      None{}

Uses (3)

Used by (0)

No other definition uses this definition.