Expand description
Uncompiled reactive map operation chains.
A MapQuery is a recipe for a reactive map computation — a chain of
pure operators (joins, projections, selections) that has not yet been
materialized into a CellMap. Map queries deliberately do not implement
subscribe: to observe output you must call MapQuery::materialize,
which installs ONE subscription per root source and returns a
subscribable cell map.
This design makes the memoization boundary explicit. Today, chaining map
operators (inner_join, left_join, project, …) creates an
intermediate CellMap per stage — each with its own diff cell and
per-key cells. By moving these operators onto MapQuery, the cost of an
intermediate map is paid only when the caller explicitly asks for one
with .materialize().
Re-exports§
Modules§
- share
- Clone-able multicast handle that subscribes a
MapQueryupstream lazily on the first downstream install, then fans diffs out to N consumers.
Traits§
- MapQuery
- Uncompiled reactive map operation chain.