v1.1.4fossic2026-06-21

Bounded Aggregate Fold with Clone Snapshot

aggregate_bounded folds events against a budget, clones the aggregator at the cut point to finalize a partial result, and returns ReadOutcome<A::Output> with cursor: None — no resume in v1.1, deferred to v1.2.x.

v1.1.42026-06-21
  • ·Store::aggregate_bounded<A: Aggregate + Clone> stops after max_events_scanned events or max_bytes of payload, whichever fires first
  • ·On truncation the aggregator is cloned at the cut point; finalize() runs on the clone so the partial result is correct without consuming the in-progress state
  • ·ReadOutcome::Truncated.cursor widened to Option<TruncationCursor> — pageable reads return Some(cursor), aggregate returns None; all in-tree resume sites simplified