def reader

bendvy-ecs-core@0.1.0.3 · execution_relation_access.bend:62

import bendvy-ecs-core@0.1.0.3/execution_relation_access.bend as ExecutionRelationAccess
import Base
import bendvy-ecs-core@0.1.0.3/relation_types.bend as T
import bendvy-ecs-core@0.1.0.3/execution_relation_store.bend as Store
import bendvy-ecs-core@0.1.0.3/execution_state.bend as State

62# Only the closed provider supplies view. Gameplay receives no store owner,
63# graph setter, payload transform, inverse mutation, or concrete Scope type.
64def reader(~S:Data,~descriptor:T.Descriptor<S>,~C:Type,~R:Type,~view:State.Scope<S,C,R> -> State.Scope<S,C,R> & Store.View<S,descriptor>) -> Reader<S,State.Scope<S,C,R>>:
65  Reader{scope => source => target(~S,~descriptor,~C,~R,~view,scope,source),scope => target => inverse(~S,~descriptor,~C,~R,~view,scope,target)}

Uses (7)

Used by (0)

No other definition uses this definition.