def read
import bendvy-ecs-core@0.1.0.3/capabilities.bend as Capabilitiesimport Base
import component.bend as Cmp
62# Invoke a declared component read, returning the owner and Access<V>.
63# No extra validation is added beyond the bound get operation.
64def read(~H: Type,~V: Data,~cap: Read<H,V>,ctx: H) -> H & Cmp.Access<V>:
65 read_field(~H,~V,cap)(ctx)