public final class BlockingOperatorMostRecent extends Object

| Modifier and Type | Method and Description |
|---|---|
static <T> Iterable |
mostRecent(Observable
Returns an
Iterable that always returns the item most recently emitted by the
Observable.
|
public static <T> Iterable<T> mostRecent(Observable <? extends T> source, T initialValue)
Iterable that always returns the item most recently emitted by the
Observable.
source - the source
Observable
initialValue - a default item to return from the
Iterable if
source has not yet emitted any items
Iterable that always returns the item most recently emitted by
source, or
initialValue if
source has not yet emitted any items