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# Provisioning gives the canonical leaf its actual protected access policy.
9# Persistence remains independent; this leaf has ordinary persistence behavior.
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}}

Uses (7)

Used by (3)