-
Notifications
You must be signed in to change notification settings - Fork 3k
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
incorrect behavior of cache() #1628
Comments
By any chance did anyone take a look at it? Is it a bug or am I doing something wrong? |
I'll look into this very soon. |
Just wonder if it may be somehow connected to: #1466. |
benlesh
added a commit
that referenced
this issue
Jun 14, 2016
This is an initial pass at fixing the cache operator. There is still a lot to do. Ideally, the cache operator would use the lift mechanism. Also this is not well optimized as it is introducing a lot of closures. But it works, and that's the point for now. fixes #1628
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
RxJS version: 5.0.0-beta.6
Code to reproduce:
Expected behavior:
LOG_1
should happen once andLOG_2
four times:Similarly to:
Actual behavior:
LOG_1
appears four times, moreover afterretry
the order of logs is reversed.Additional information: Both code snippets generate:
Uncaught ObjectUnsubscribedError
after each retry. demoThe text was updated successfully, but these errors were encountered: