OrdinaryAppExecutionRun.outcome: def of bendvy-ecs-core@0.1.0.4 Import: import bendvy-ecs-core@0.1.0.4/ordinary_app_execution_run.bend as OrdinaryAppExecutionRun Lines 24-27 of bendvy-ecs-core@0.1.0.4/ordinary_app_execution_run.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.4/ordinary_app_execution_run.bend&start_line=24&end_line=27 import Base import bendvy-ecs-core@0.1.0.4/execution_context.bend as Ctx import bendvy-ecs-core@0.1.0.4/trace_facts.bend as Facts import bendvy-ecs-core@0.1.0.4/system.bend as Sys def outcome(~World:Type,~Error:Data,~Out:Type,trace:Facts.State,result:Sys.Outcome) -> Sys.Outcome,Error,Out>: match result: case Sys.Succeeded{world,output}:Sys.Succeeded{Ctx.Context{world,trace},output} case Sys.Failed{world,error}:Sys.Failed{Ctx.Context{world,trace},error} Uses (3): https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/execution_context.bend&name=Context https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/system.bend&name=Outcome https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/trace_facts.bend&name=State