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
whenAll: always yields [RACUnit defaultUnit] #43
Comments
This is what the method is documented to do. Are you saying that you would prefer a different interface? If so, what would be the motivation? |
Currently, the subscribables passed to |
Ah yes, missed that documentation. :S I would prefer the return value be a tuple so I don't have to introduce side-effects (e.g., |
Compare .NET ForkJoin: http://msdn.microsoft.com/en-us/library/ff708019(v=vs.92).aspx |
|
I'm 👍 on making the changes discussed in this thread. I think it makes the most sense to just add a |
@jspahrsummers I almost suggested that but it felt weird to call it |
Right, it combines into a tuple. I don't know why that's any less of a combination. :P |
👍 for adding |
Perhaps |
Fixed by #44. |
Remove workarounds for compiler warning about StaticString
The implementation of
whenAll:
:The call to
sendNext:
withincombineLatest:reduce:
The result is that subscribers to the subscribable returned by
whenAll:
always receive[RACUnit defaultUnit]
. Unless I'm missing something obvious.A possible fix would be:
Thoughts?
The text was updated successfully, but these errors were encountered: