public final class BlockingOperatorLatest
extends java.lang.Object
onError
or onCompleted
events.Modifier and Type | Method and Description |
---|---|
static <T> java.lang.Iterable<T> |
latest(Observable<? extends T> source)
Returns an
Iterable that blocks until or unless the Observable emits an item that has not
been returned by the Iterable , then returns that item |
public static <T> java.lang.Iterable<T> latest(Observable<? extends T> source)
Iterable
that blocks until or unless the Observable
emits an item that has not
been returned by the Iterable
, then returns that itemsource
- the source Observable
Iterable
that blocks until or unless the Observable
emits an item that has not
been returned by the Iterable
, then returns that item