def read_slot_view
bendvy-ecs-core@0.1.0.3 · execution_layout_access.bend:103
import bendvy-ecs-core@0.1.0.3/execution_layout_access.bend as ExecutionLayoutAccess
import Base
import bendvy-ecs-core@0.1.0.3/execution_composer_layout.bend as Layout
103def read_slot_view(-S:Data,-layout:Layout.Layout,-route:Layout.Route,value:read_slot_type(S,layout,route)) -> read_slot_type(S,layout,route) & Layout.view(layout,route):
104 match value:
105 case Layout.ResourceSlot{Layout.Viewed{owner,+view},stamp}:(Layout.ResourceSlot{Layout.Viewed{owner,view},stamp},view)