CombineLatestSink
struct · ferroui-reactiveui · v0.5.0
struct CombineLatestSink
The latest values of two sources, combined (CombineLatestSink<TFirst, TSecond>): once both
have produced a value, on_next receives the latest pair at each change; an error of either
goes to on_error, and their ends are ignored.
Members
new
fn new<A: Clone + 'static, B: Clone + 'static>(first: Rc<dyn IObservable<A>>, second: Rc<dyn IObservable<B>>, on_next: impl Fn(A, B) -> () + 'static, on_error: Option<Rc<dyn Fn(ObservableError) -> ()>>) -> Self
Subscribes first and second (CombineLatestSink(IObservable<TFirst>, IObservable<TSecond>, Action<TFirst, TSecond>, Action<Exception>?)).
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyIDisposable
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.