We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I tried below
Observable.range(1, 3).repeatWhen(handler -> handler.take(2)) .subscribe( System.out::println, e -> e.printStackTrace(), () -> System.out.println("completed"));
It dodin't call onComplete. I got this.
1 2 3 1 2 3 1 2 3
However, I tried Flowable, it called onComplete.
Flowable.range(1, 3).repeatWhen(handler -> handler.take(2)) .subscribe( System.out::println, e -> e.printStackTrace(), () -> System.out.println("completed"));
The result was below.
1 2 3 1 2 3 completed
I tried on 2.0.2.
The text was updated successfully, but these errors were encountered:
Thanks. This is a bug with Observable.repeat. I'll post a fix shortly.
Observable.repeat
Sorry, something went wrong.
See #4911.
Closing via #4911
No branches or pull requests
I tried below
It dodin't call onComplete. I got this.
However, I tried Flowable, it called onComplete.
The result was below.
I tried on 2.0.2.
The text was updated successfully, but these errors were encountered: