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
Flesh out the Future factory methods to include a method that accepts a Try. At the moment we have Promise.success/Future.successful, Promise.fail/Future.failure, but we're missing the equivalent to Promise.complete.
Suggested: Future.completed.
e.g.
defcompleted[A](result: Try[A]):Future[A] = …
The text was updated successfully, but these errors were encountered:
Flesh out the Future factory methods to include a method that accepts a Try. At the moment we have Promise.success/Future.successful, Promise.fail/Future.failure, but we're missing the equivalent to Promise.complete.
Suggested: Future.completed.
e.g.
The text was updated successfully, but these errors were encountered: