def get
import bendvy-ecs-core@0.1.0.4/ordinary_machine_declaration.bend as OrdinaryMachineDeclarationimport Base
import bendvy-ecs-core@0.1.0.4/machine.bend as M
import bendvy-ecs-core@0.1.0.4/capabilities.bend as Cap
57# Read CurrentView through an existing typed read capability and return its
58# affine owner. Missing state remains explicit; no live machine alias escapes.
59def get(~H:Type,~S:Data,~Token:Data,~V:Data,~cap:Cap.ValueRead<H,M.CurrentView<S,Token,V>>,owner:H) -> H & M.CurrentView<S,Token,V>:
60 Cap.value_read(~H,~M.CurrentView<S,Token,V>,~cap,owner)