queryCollectionChanges function

Module @runic-artifex/views-effect in @runic-artifex/views-effect 0.23.0

function queryCollectionChanges<TRow>(collection: QueryCollection<TRow>): Stream.Stream<QueryCollectionSnapshot<TRow>>;

The rows a query collection (client.queries.{name}) shows for its range: its current snapshot, then each change, keeping only the latest one a slow consumer has not read. Set the range with collection.setRange, or follow a container with queryViewportChanges.