public class TakeWhileObserver<M> extends PassthroughObserver<M,M>
| Constructor and Description |
|---|
TakeWhileObserver(Observer<? super M> downstreamObserver,
java.util.function.Predicate<? super M> condition) |
| Modifier and Type | Method and Description |
|---|---|
void |
onNext(M message)
The method which will receive notification from an
Observable. |
getDownstreamObserver, getObservation, initializeObservation, onComplete, onFail, onObserveclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonCompletion, onFailure, onObservation, singleUsepublic void onNext(M message)
ObserverObservable.