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

Provide if/else constructs on Promise and Chain #1089

Closed
etiennestuder opened this issue Oct 23, 2016 · 1 comment
Closed

Provide if/else constructs on Promise and Chain #1089

etiennestuder opened this issue Oct 23, 2016 · 1 comment
Milestone

Comments

@etiennestuder
Copy link

  • Promise.mapIfOrElse(Predicate<? super T> predicate, Function<? super T, ? extends T> ifTansformer, Function<? super T, ? extends T> elseTransformer)
  • Promise.flatMapIfOrElse(...)
  • Chain.when(boolean test, Class<? extends Action<? super Chain>> ifAction, Class<? extends Action<? super Chain>> elseAction)
  • same for the overloaded Chain.when(....) APIs
@felipefzdz
Copy link
Contributor

Happy to work on this issue.

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

3 participants