Generation.Context.restart: def of bend-trace-context@0.2.0.0 Import: import bend-trace-context@0.2.0.0/generation.bend as Generation Lines 66-71 of bend-trace-context@0.2.0.0/generation.bend: https://jend.leeeet.dev/read.txt?path=bend-trace-context@0.2.0.0/generation.bend&start_line=66&end_line=71 import Base import bend-trace-context@0.2.0.0/trace_context.bend as TC # Start a new trace instead of continuing a received context, with the # sampled indication `sampled`, as a root takes it. def Context.restart(previous: TC.RemoteContext, sampled: Bool) -> IO(Result<&2, &2, TC.GenerationError, TC.LocalContext>): on_host(Result<&2, &2, TC.GenerationError, TC.LocalContext>, TC.Context.restart_with(~Unit, ~Source.host, Unit{}, previous, sampled)) Uses (10): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Unit https://jend.leeeet.dev/definition.txt?path=bend-trace-context@0.2.0.0/generation.bend&name=Source.host https://jend.leeeet.dev/definition.txt?path=bend-trace-context@0.2.0.0/generation.bend&name=on_host https://jend.leeeet.dev/definition.txt?path=bend-trace-context@0.2.0.0/trace_context.bend&name=Context.restart_with https://jend.leeeet.dev/definition.txt?path=bend-trace-context@0.2.0.0/trace_context.bend&name=GenerationError https://jend.leeeet.dev/definition.txt?path=bend-trace-context@0.2.0.0/trace_context.bend&name=LocalContext https://jend.leeeet.dev/definition.txt?path=bend-trace-context@0.2.0.0/trace_context.bend&name=RemoteContext