def Serve.finish
import bend-trace-context@0.2.0.0/trace_context.bend as TraceContextimport Base
3594# The source's final state with the service that the plan gives.
3595def Serve.finish(-S: Type, plan: ServicePlan, done: S & Result<&2, &2, GenerationError, LocalContext>) ->
3596 S & Service:
3597 (source, result) = done
3598 (source, ServicePlan.service(plan, result))