-
Notifications
You must be signed in to change notification settings - Fork 97
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
Map vs Scan pooling #253
Comments
This is because You're right that this feels wrong. I'm not sure how to fix this properly though. Options are:
None of these solution seem 100% right and noncontroversial to me. Sometimes I think the core conceptual problem is Properties. I mean maybe overall semantics of the library would be more solid and consistent if we simply had only Streams. Also I should mention that having multiple "current" values is not recommended anyway. You may have other issues with such pattern. I'd try to avoid it. |
Yes, reading those issues, I see what you mean.
I guess it depends on how often (and how different) In RxJS I use
So yes, I would, at least, try to remove |
Yeah, a simple operator like |
I understand. Maybe like an idea for Kefir 4.x, for the future. You should |
3 events are emitted.
1 event is emitted.
This doesn't feel right. If pool queues values before the first subscription – both cases should emit 3 events. If pool keeps only the last value before subscription – why 3 events in the first case?
The text was updated successfully, but these errors were encountered: