public final class BlockingOperatorNext extends Object
Modifier and Type | Method and Description |
---|---|
static <T> 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> Iterable<T> next(Observable<? extends T> items)
Iterable
that blocks until the Observable
emits another item, then returns
that item.T
- the value typeitems
- the Observable
to observeIterable
that behaves like a blocking version of items
Copyright © 2017. All rights reserved.