type Builder

bendvy-ecs-core@0.1.0.4 · ordinary_query_builder.bend:14

import bendvy-ecs-core@0.1.0.4/ordinary_query_builder.bend as OrdinaryQueryBuilder
import Base
import bendvy-ecs-core@0.1.0.4/ordinary_query_observable.bend as O
import bendvy-ecs-core@0.1.0.4/inspector_query_projection.bend as P
import bendvy-ecs-core@0.1.0.4/inspector.bend as I
import bendvy-ecs-core@0.1.0.4/internal/query_read_session.bend as Session

14# Supported ordinary setup for read/optional/pair queries. Each binding defines
15# both ordinary authority and the compact read recipe; finish returns the existing
16# ordinary Declaration. Other forms and mixed composition use O.pair after finish.
17# The concrete Store remains indexed until composition finishes; gameplay keeps
18# the existing opaque owner and query interfaces.
19# Setup carrier for read/optional/pair declarations and their detached
20# inspection recipe. It owns no runtime world or payload; use finish to obtain
21# the ordinary observable declaration accepted by registration.
22type Builder<-S:Data,-Store:Type,-R:Type,-E:Data,-H:Type,-G:Type,-V:Data> is Type:
23  Builder{ordinary:Unit -> O.Declaration<S,H,G,I.Frame<S,Store,R,E>,V>,session:Unit -> P.DeclaredSelection<Session.Owner<S,Store>,S,V>}

Uses (5)

Used by (7)