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

Introduce an abstraction over plain Future #15

Closed
nobeh opened this issue Jul 10, 2015 · 0 comments
Closed

Introduce an abstraction over plain Future #15

nobeh opened this issue Jul 10, 2015 · 0 comments
Assignees
Milestone

Comments

@nobeh
Copy link
Member

nobeh commented Jul 10, 2015

We currently provide all the results of the API using java.util.Future. We need to improve this by a simpler abstraction. Items that are important for us:

  • #get() should return null instead of exception
  • There should be methods to check success completion or exceptional completion
  • There should be an explicit method to get the exception
@nobeh nobeh added this to the v0.9 milestone Jul 10, 2015
@nobeh nobeh self-assigned this Jul 10, 2015
nobeh added a commit that referenced this issue Jul 10, 2015
Response is a Future and a CompletionStage
that can be completed with success value or
an exception.

Also apply refactorings, small bug fixes and
docs.

Rel #15
nobeh added a commit that referenced this issue Jul 12, 2015
Mostly include more work on the correctness
of `await`.

Rel #14 #15
@nobeh nobeh closed this as completed Jul 27, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant