Collections topic

Many queries or mutations at once. QueriesBuilder and QueriesController follow a list of queries that may change length or order; IsFetchingController counts the queries fetching, for a global loading indicator; MutationStateController selects from every mutation in the cache, for a "saving…" badge or a pending row.

Classes

IsFetchingController Collections
How many queries matching the filters are fetching right now, as a ValueListenable — the value behind a global loading indicator.
MutationStateController<TSelected> Collections
A value selected from every mutation in the cache that matches the filters, as a ValueListenable of a list — one entry per mutation, in the order they were added.
QueriesBuilder<TQueryData, TData> Collections
Builds from a list of queries that may change length or order, handing the builder their results in the same order as queries.
QueriesController<TQueryData, TData> Collections
A list of queries that may change length or order, as a ValueListenable of their results in the same order.