M
- The type of event message to producepublic class ColdObservable<M> extends java.lang.Object implements Observable<M>
Observable
which implements backpressure
over the elements of an iterable.
The implementation is intentionally basic, with messages being pushed to the
observer on the same thread which makes the request
by default. An executor can be added downstream.
Constructor and Description |
---|
ColdObservable(java.lang.Iterable<? extends M> iterable) |
Modifier and Type | Method and Description |
---|---|
Disposable |
observe(Observer<? super M> observer)
Observers added will receive messages from this Observable.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
aggregateBackpressure, aggregateBackpressure, collect, collectBackpressure, compose, concat, concat, concatMap, dropWhile, empty, executeOn, failingValue, filter, flatMap, get, getNext, map, materialize, merge, merge, mergeMap, observe, of, of, of, reduce, reduceBackpressure, reduceBackpressure, reduceBackpressure, repeating, requestNext, requestUnbounded, retrying, softReference, softReference, synchronize, synchronize, takeWhile, then, thenAfter, toObservable, toValue, toValue, toValue, tryGet, upcast, value, weakReference, weakReference
public ColdObservable(java.lang.Iterable<? extends M> iterable)
public Disposable observe(Observer<? super M> observer)
Observable
observe
in interface Observable<M>
observer
- an observer to add