Closed JingweiWang closed 6 years ago
Please see the JavaDocs of subscribeOn
.
If there is a
create(FlowableOnSubscribe, BackpressureStrategy)
type source up in the chain, it is recommended to usesubscribeOn(scheduler, false)
instead to avoid same-pool deadlock because requests may pile up behind an eager/blocking emitter.
Closing as it's not a bug or feature request for RxAndroid. For usage questions please consider the RxJava mailing list or StackOverflow with the 'rx-java' tag in the future.
@akarnokd Thank you but the result is still wrong.
Please ask this question on Stackoverflow where you specify what you expected.
I use the following code to run :
I expected result is printed out 0 to 127 and 999.
But the result of the matter is not like this.
Why is it like this?