-
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
cache: Weird behaviour on throw #2006
Comments
I think this is a clincher for removing cache until we can further refine the desired behaviors. |
This fails for Also this bug has been introduced between [email protected] and [email protected]. |
@Dorus we ended up removing the We do plan to revisit in the future and possibly provide one or more operators that have differing forms of caching. Everyone has differing opinions and use cases for what "caching" should mean and it's far more complex that it may seem at first. Some additional thoughts can be found here. |
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. |
RxJS version: 5.0.0-beta.12
Code to reproduce:
Example: https://codepen.io/Kamshak-1472390889/pen/gwowkZ?editors=0010#0
Expected behavior: Console prints "Cache E": The error is passed on.
Actual behavior: No output.
Additional information: Is this expected? The behaviour is different if the observable throws after the cache is subscribed (error is passed on).
The text was updated successfully, but these errors were encountered: