Replacement for scala.concurrent.Future.fromTry()
, which can't be
used here, because we still compile on Scala 2.10, and 2.10 doesn't
have that function.
Replacement for scala.concurrent.Future.fromTry()
, which can't be
used here, because we still compile on Scala 2.10, and 2.10 doesn't
have that function. Converts a Try
to a Future
. A successful
Try
(a Success
) becomes a completed and successful Future
.
A failed Try
(a Failure
) becomes a completed and failed Future
.
the corresponding Future
.
Enriched
Try
class, containing some helper methods.