def layout
bendvy-ecs-core@0.1.0.3 · execution_relation_provider.bend:8
import bendvy-ecs-core@0.1.0.3/execution_relation_provider.bend as ExecutionRelationProvider
import Base
import bendvy-ecs-core@0.1.0.3/execution_composer_layout.bend as Layout
import bendvy-ecs-core@0.1.0.3/execution_resource_policy.bend as Policy
import bendvy-ecs-core@0.1.0.3/execution_relation_store.bend as Store
import bendvy-ecs-core@0.1.0.3/relation_types.bend as T
8
9
10def layout(~S:Data,~descriptor:T.Descriptor<S>,key:String) -> Layout.Layout:
11 Layout.LayoutLeaf{Store.Store<S,descriptor>,Store.View<S,descriptor>,Store.project(~S,~descriptor),key,Policy.ProtectedRelation{S,descriptor}}