pub trait InvalidateWhenEx<T> {
// Required method
fn invalidate_when<U: 'static>(
&self,
invalidate: Rc<dyn IObservable<U>>,
) -> Rc<dyn IObservable<T>>;
}Expand description
The invalidation of an aggregating sequence (InvalidateWhen), for every sequence.
Required Methods§
Sourcefn invalidate_when<U: 'static>(
&self,
invalidate: Rc<dyn IObservable<U>>,
) -> Rc<dyn IObservable<T>>
fn invalidate_when<U: 'static>( &self, invalidate: Rc<dyn IObservable<U>>, ) -> Rc<dyn IObservable<T>>
The sequence, subscribed again each time invalidate notifies, without repeating a value:
used when an item changes inline, so that an aggregation is computed again
(InvalidateWhen(IObservable<Unit>) and InvalidateWhen<T, TTrigger>(IObservable<TTrigger?>),
which are one method: the trigger’s values are not read).
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".