T - the left element typeU - the right element typeV - the result element typepublic static final class CombineLatest.Sent<V,T,U> extends java.lang.Object implements Observable<V>
Exception semantics: if any stream throws an exception, the output stream throws an exception and all registrations are terminated.
Completion semantics: The output stream terminates after both streams terminate.
The function will start combining the values only when both sides have already sent a value.
| Constructor and Description |
|---|
Sent(Observable<? extends T> left,
Observable<? extends U> right,
Func2<? super T,? super U,? extends V> selector)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.io.Closeable |
register(Observer<? super V> observer)
Registers an observer for the notification of Ts.
|
public Sent(Observable<? extends T> left, Observable<? extends U> right, Func2<? super T,? super U,? extends V> selector)
left - the left streamright - the right streamselector - the function which combines values from both streams and returns a new value@Nonnull
public java.io.Closeable register(@Nonnull
Observer<? super V> observer)
Observableregister in interface Observable<V>observer - the observer of Ts or any supertype of it