Property ItemChangesStream
- Namespace
- SodaFlow.Collections
- Assembly
- SodaFlow.Core.Collections.dll
ItemChangesStream
The change to the items of this collection: the keys that an edit added, removed, or changed, with the new state of each one.
public abstract Stream<ItemChange<TKey, TIdentity, TState>> ItemChangesStream { get; }
Property Value
- Stream<ItemChange<TKey, TIdentity, TState>>
Remarks
This stream has states and no positions, and it uses keys and not an order. A read of it never makes this collection sort itself. Fold it when the answer comes from the values and not from the order, such as a total, an average, or a count of the items that agree with a predicate.