T - the element typepublic static final class Repeat.DoWhile<T> extends java.lang.Object implements Observable<T>
Exception semantics: exception received will stop the repeat process and is delivered to observers as-is.
| Constructor and Description |
|---|
DoWhile(Observable<? extends T> source,
Func0<java.lang.Boolean> condition)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.io.Closeable |
register(Observer<? super T> observer)
Registers an observer for the notification of Ts.
|
public DoWhile(@Nonnull
Observable<? extends T> source,
@Nonnull
Func0<java.lang.Boolean> condition)
source - the source sequencecondition - the condition to check@Nonnull
public java.io.Closeable register(@Nonnull
Observer<? super T> observer)
Observableregister in interface Observable<T>observer - the observer of Ts or any supertype of it