def observable_plan

bendvy-ecs-core@0.1.0.4 · ordinary_system.bend:72

import bendvy-ecs-core@0.1.0.4/ordinary_system.bend as OrdinarySystem
import Base
import bendvy-ecs-core@0.1.0.4/compose.bend as Q
import bendvy-ecs-core@0.1.0.4/transaction.bend as T
import bendvy-ecs-core@0.1.0.4/ordinary_query_observable.bend as O
import bendvy-ecs-core@0.1.0.4/inspector.bend as I

72# The same ordinary declaration also retains detached inspection lowering.
73# The Registry runner index retains this declaration; execution projects only
74# its operational part. Runtime-bound registered inspection is supplied by
75# the separate checked Inspector entry points, not this execution adapter.
76# Lower only the operational half of an observable query declaration.
77# Detached inspection remains separate; writes do not enter Inspector grants.
78def observable_plan(~S:Data,~C:Type,~R:Type,~E:Data,~Ops:Type -> Type,~A:Data,~U:Data,~Out:Data,~V:Data,~query:O.Declaration<S,Q.Frame<S,C,R,E>,Ops(Q.Frame<S,C,R,E>),I.Frame<S,C,R,E>,V>,~body:@-H:Type -> @-caps:Ops(H) -> A -> H -> H & (T.Outcome<U> & Out)) -> Q.Plan<S,C,R,E,Ops>:
79  plan_parts(~S,~C,~R,~E,~Ops,O.operational(~S,~Q.Frame<S,C,R,E>,~Ops(Q.Frame<S,C,R,E>),~I.Frame<S,C,R,E>,~V,query))

Uses (8)

Used by (2)