RxJava2 observable take throws UndeliverableException
Yes, but because the observable ‘ends’ does not mean the code running inside create(…) is stopped. To be fully safe in this case you need to use o.isDisposed() to see if the observable has ended downstream. The exception is there because RxJava 2 has the policy of NEVER allowing an onError call to be lost. … Read more