def observed
bendvy-ecs-core@0.1.0.3 · execution_lifetime_scope_world_access.bend:21
import bendvy-ecs-core@0.1.0.3/execution_lifetime_scope_world_access.bend as ExecutionLifetimeScopeWorldAccess
import Base
import bendvy-ecs-core@0.1.0.3/world.bend as W
import bendvy-ecs-core@0.1.0.3/execution_composer_layout.bend as Layout
import bendvy-ecs-core@0.1.0.3/execution_relation_resource_snapshot.bend as Snapshot
import bendvy-ecs-core@0.1.0.3/execution_relation_world_publication.bend as Publication
import bendvy-ecs-core@0.1.0.3/entity_allocator.bend as Allocator
21def observed(-S:Data,-C:Type,-R:Type,-E:Data,-Physical:Type,same:{R == Physical : Type},allocator:Allocator.Allocator,frame:Publication.Frame<S,C,R,E>,result:Physical & List<&2,Snapshot.GraphView<S>>) -> W.World<S,C,R,E> & List<&2,Snapshot.GraphView<S>>:
22 match frame result:
23 case Publication.Frame{namespace,columns,events,pending,registrations,nextSystem,clock,lifecycle}, (owners,views):(W.World{namespace,allocator,columns,Layout.checked_owner(Physical,R,Equal.sym(Type,R,Physical,same),owners),events,pending,registrations,nextSystem,clock,lifecycle},views)