Skip to content

Conversation

@obrok
Copy link
Contributor

@obrok obrok commented Oct 9, 2014

As discussed in #80. The only thing I'm wondering about is if .zip and #zip should take *args or an array. I chose *args, because it looks better when you convert to it from the other - Promise.zip(*promises) as opposed to Promise.zip([promise1, promise2]) and looks very good for the simple case of promise1.zip(promise2) { |(v1, v2)| ... }.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.01%) when pulling 5dae1ad on obrok:promise-zip into 0c74b69 on ruby-concurrency:master.

jdantonio added a commit that referenced this pull request Oct 10, 2014
@jdantonio jdantonio merged commit cfd030f into ruby-concurrency:master Oct 10, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants