def operational

bendvy-ecs-core@0.1.0.4 · ordinary_query_observable.bend:25

import bendvy-ecs-core@0.1.0.4/ordinary_query_observable.bend as OrdinaryQueryObservable
import Base
import bendvy-ecs-core@0.1.0.4/ordinary_query_declaration.bend as N

25# Consume the observable declaration and obtain its typed operational query.
26# Does not enumerate rows or run a body; H remains the operational owner type.
27def operational(~S:Data,~H:Type,~G:Type,~IH:Type,~V:Data,declaration:Declaration<S,H,G,IH,V>) -> N.Declaration<S,H,G>:
28  match declaration:
29    case Declaration{operational,_}:operational(Unit{})
30    case PreparedDeclaration{operational,_,_}:operational(Unit{})

Uses (3)

Used by (7)