ReactiveUI.Primitives.Advanced.IAggregator<T, TResult, TSelf>
An immutable value-type accumulator for a single-source aggregate sink: each Add folds a value
into the running state and returns the next accumulator, while Result yields the terminal value.
Implemented as a readonly record struct so AggregateWitness<T, U, V>
can advance it through a constrained, devirtualized, allocation-free call rather than an interface or delegate dispatch.
Gets the terminal result computed from the values folded so far.
Folds value into the running state and returns the next accumulator.