public final class BlockingOperatorNext
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static <T> java.lang.Iterable<T> |
next(Observable<? extends T> items)
Returns an
Iterable that blocks until the Observable emits another item, then returns
that item. |
public static <T> java.lang.Iterable<T> next(Observable<? extends T> items)
Iterable
that blocks until the Observable
emits another item, then returns
that item.items
- the Observable
to observeIterable
that behaves like a blocking version of items