You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See code snippet bellow. Basically in BlockingOperatorToIterator.toIterator() method "lifted" subscriber ignores exception in onError(..) method what makes iterator's hasNext(..) method to wait forever for a notification that never arrives.
Iterable<String> strings = Observable.create(newObservable.OnSubscribe<String>() {
@Overridepublicvoidcall(Subscriber<? superString> subscriber) {
thrownewRuntimeException("intentional");
}
}).toBlocking().toIterable();
for (Stringstring : strings) {
// never reaches here
}
The text was updated successfully, but these errors were encountered:
See code snippet bellow. Basically in
BlockingOperatorToIterator.toIterator()
method "lifted" subscriber ignores exception inonError(..)
method what makes iterator'shasNext(..)
method to wait forever for a notification that never arrives.The text was updated successfully, but these errors were encountered: