MachineHandlers.phase_result: def of bendvy-ecs-core@0.1.0.4 Import: import bendvy-ecs-core@0.1.0.4/machine_handlers.bend as MachineHandlers Lines 49-52 of bendvy-ecs-core@0.1.0.4/machine_handlers.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.4/machine_handlers.bend&start_line=49&end_line=52 import Base import bendvy-ecs-core@0.1.0.4/machine_handler_engine.bend as Engine import world.bend as W import system.bend as Sys def phase_result(~S:Data,~C:Type,~R:Type,~E:Data,~V:Data,~runner:W.World -> Invocation -> Sys.Outcome,String,Unit>,result:Engine.PhaseResult,Entry>) -> PhaseResult: match result: case Engine.Complete{entries,world}:Complete{entries,world} case Engine.Failed{entries,world,error}:Failed{entries,world,error} Uses (8): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Unit https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/machine_handler_engine.bend&name=PhaseResult https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/machine_handlers.bend&name=Entry https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/machine_handlers.bend&name=Invocation https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/machine_handlers.bend&name=PhaseResult 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/world.bend&name=World