ObservableCacheChangeSetsEx
trait · ferroui-dynamic-data · v0.5.0
trait ObservableCacheChangeSetsEx<T, K>
MergeChangeSets of a sequence of sequences of change sets of caches
(MergeChangeSets(this IObservable<IObservable<IChangeSet<TObject, TKey>>>, ..)): each
sequence is merged as it arrives; the merge completes when the outer sequence and every inner
one have completed.
Members
merge_change_setsmerge_change_sets_with_comparermerge_change_sets_ordered_bymerge_change_sets_with
merge_change_sets
fn merge_change_sets(self: &Self) -> Rc<dyn IObservable<ChangeSet<T, K>>>
where T: PartialEq
The change sets of the sequences, merged (MergeChangeSets()).
merge_change_sets_with_comparer
fn merge_change_sets_with_comparer(self: &Self, equality_comparer: impl Fn(&T, &T) -> bool + 'static) -> Rc<dyn IObservable<ChangeSet<T, K>>>
With the equality of the items (MergeChangeSets(IEqualityComparer<TObject>)).
merge_change_sets_ordered_by
fn merge_change_sets_ordered_by(self: &Self, comparer: Rc<dyn Fn(&T, &T) -> Ordering>) -> Rc<dyn IObservable<ChangeSet<T, K>>>
where T: PartialEq
Where the value of a key is the least by comparer (MergeChangeSets(IComparer<TObject>)).
merge_change_sets_with
fn merge_change_sets_with(self: &Self, equality_comparer: Option<Rc<dyn Fn(&T, &T) -> bool>>, comparer: Option<Rc<dyn Fn(&T, &T) -> Ordering>>) -> Rc<dyn IObservable<ChangeSet<T, K>>>
where T: PartialEq
With the equality of the items (PartialEq when None) and the comparer
(MergeChangeSets(IEqualityComparer<TObject>, IComparer<TObject>)).
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.