-
Notifications
You must be signed in to change notification settings - Fork 7.6k
New issue
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
Bug with "Sample" operator in 1.2.4 #4952
Comments
This was a requested feature that made it into 1.1.3: Discussion, PR. The common documentation of sample also indicates emission of the very last event in case of the termination. The RxJava diagram hasn't been updated it seems. In 2.x, the last element in the internal buffer is not emitted in any of the |
I can add an overload |
Closing via #5007. |
Library version 1.2.4.
Bug reporting inspired by that SO question.
Code sample to reproduce:
Output:
But, as far I understand that operator, it should be:
Because "tick" on 5000 should not happen after
onComplete
called.The text was updated successfully, but these errors were encountered: