def read_result
bendvy-ecs-core@0.1.0.3 · execution_machine_component.bend:32
import bendvy-ecs-core@0.1.0.3/execution_machine_component.bend as ExecutionMachineComponent
import Base
import bendvy-ecs-core@0.1.0.3/world.bend as W
import bendvy-ecs-core@0.1.0.3/state.bend as State
import bendvy-ecs-core@0.1.0.3/component.bend as Component
32def read_result(~S:Data,~H:Type,~P:Type,~V:Data,~Move:Data,~equal:V -> V -> Bool,~endpoints:Move -> V & V,~update:V -> P -> P & V,modify:Modifier(~S,~H,~P,~V),handle:W.Handle<S>,request:Move,result:H & Component.Access<V>) -> H & State.Outcome<V,Unit>:
33 match result:
34 case (scope,actual):endpoints_observed(~S,~H,~P,~V,~equal,~update,MoveOwner{scope,handle,Some{modify}},actual,endpoints(request))