Skip to content
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

Add Future.and #40

Closed
Avaq opened this issue Oct 24, 2016 · 0 comments
Closed

Add Future.and #40

Avaq opened this issue Oct 24, 2016 · 0 comments
Milestone

Comments

@Avaq
Copy link
Member

Avaq commented Oct 24, 2016

Future.of(1).and(Future.of(2));
//> Future.of(2)

Future.of(1).and(Future.reject('kaputt'))
//> Future.reject('kaputt')

Future.reject('kaputt').and(Future.of(1))
//> Future.reject('kaputt')
@Avaq Avaq modified the milestone: 4.0.0 Oct 24, 2016
Avaq added a commit that referenced this issue Oct 25, 2016
@Avaq Avaq closed this as completed Oct 29, 2016
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

No branches or pull requests

1 participant