-
Notifications
You must be signed in to change notification settings - Fork 156
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
combineLatest doesn't emit any value if the input array is empty #118
Comments
Hey, I believe this was discussed already here - |
Do you have any use cases in mind when this behavior makes sense? Maybe, I'm biased by our use cases. |
It's not about a use case it's about guarantees and rules of the operator :) |
Sounds reasonable, I'm convinced :) |
@DesmanLead: Even though Ext didn’t decide to go this route, there’s sound theoretical reason for why an empty array should be emitted. I wrote a bit about it here, if you’re curious. |
Example:
Nothing will be printed if
publishers
is an empty array.Feels like the correct behavior is to emit an empty array of
String
in this case. The caller doesn't need a special handling of an empty input case then.The text was updated successfully, but these errors were encountered: