You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 Success, and get a Failure otherwise. So, this really should be part of issue #16
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: