-
Notifications
You must be signed in to change notification settings - Fork 29
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
Use Try[X] instead of AsyncResult[X] #62
Milestone
Comments
I've added an implicit Try to AsyncResult in #51 now. This should enable users to pattern match now. Guess that's a better approach as it won't get too far away from the official API to be able to write both. |
Closing this, all async results should be converted to Future returns, so that they are completed with |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Wouldn't it make sense to use scala.util.Try?
Then a user could pattern match over Success(result) and Failure(exception).
The text was updated successfully, but these errors were encountered: