def Context.child
import bend-trace-context@0.2.0.0/generation.bend as Generationimport Base
import bend-trace-context@0.2.0.0/trace_context.bend as TC
61# Continue a remote or local parent with a new operation.
62def Context.child(parent: TC.Parent, sampling: TC.Sampling) -> IO(Result<&2, &2, TC.GenerationError, TC.LocalContext>):
63 on_host(Result<&2, &2, TC.GenerationError, TC.LocalContext>,
64 TC.Context.child_with(~Unit, ~Source.host, Unit{}, parent, sampling))
Uses (10)
Used by (0)
No other definition uses this definition.