MachineHandlers.run: def of bendvy-ecs-core@0.1.0.4 Import: import bendvy-ecs-core@0.1.0.4/machine_handlers.bend as MachineHandlers Lines 71-73 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=71&end_line=73 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 import machine.bend as M def run(~S:Data,~C:Type,~R:Type,~E:Data,~V:Data,~runner:W.World -> Invocation -> Sys.Outcome,String,Unit>,~K:Data,~take:W.World -> W.World & M.Slot,~put:W.World -> M.Slot -> W.World,~publish:W.World -> M.Transition -> W.World,~same:V -> V -> Bool,owners:Owners,world:W.World,captured:M.Snapshot) -> HandlerResult: match owners: case Owners{exit,transition,enter}:handler_result(~S,~C,~R,~E,~V,~runner,Engine.run(~S,~W.World,~Entry,~Phase,~V,~invoke_phase(~S,~C,~R,~E,~V,~runner),~invoke_initial(~S,~C,~R,~E,~V,~runner),~BendvyExit{},~Transition{},~Enter{},~K,~take,~put,~publish,~same,Engine.Owners{exit,transition,enter},world,captured)) Uses (19): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair 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.bend&name=Slot https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/machine.bend&name=Snapshot https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/machine.bend&name=Transition https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/machine_handler_engine.bend&name=Owners https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/machine_handler_engine.bend&name=run 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=HandlerResult 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=Owners https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/machine_handlers.bend&name=Phase https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/machine_handlers.bend&name=handler_result https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/machine_handlers.bend&name=invoke_initial https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/machine_handlers.bend&name=invoke_phase 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