def Context.send

bend-trace-context@0.2.0.0 · generation.bend:82

import bend-trace-context@0.2.0.0/generation.bend as Generation
import Base
import bend-trace-context@0.2.0.0/trace_context.bend as TC

82# Give one message that the service sends a new child of the service's
83# operation, or the fallback when none can be generated
84# (TC.Context.send_with).
85def Context.send(+limits: TC.Limits, service: TC.Service, sampling: TC.Sampling, +policy: TC.FailurePolicy,
86  +carrier: List<&2, TC.Header>) -> IO(TC.FailurePolicy.result(policy, TC.Sent)):
87  on_host(TC.FailurePolicy.result(policy, TC.Sent),
88    TC.Context.send_with(~Unit, ~Source.host, Unit{}, limits, service, sampling, policy, carrier))

Uses (13)

Used by (0)

No other definition uses this definition.