trait
Async[Z[_]] extends AnyRef
Abstract Value Members
-
abstract
def
failure[T](x: Throwable): Z[T]
-
abstract
def
future[T](x: T): Z[T]
-
abstract
def
onComplete[X, Y](v: Z[X], fn: (Try[X]) ⇒ Y): Unit
-
abstract
def
promise[T](): Promise[Z, T]
-
abstract
def
success[T](x: T): Z[T]
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
-
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
def
transform[A, B](v: Z[A])(fn: (Try[A]) ⇒ B): Z[B]
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Async
This typeclass is an abstraction over common features available in different flavours of
Future
, like: - scala.concurrent.Future - com.twitter.util.Future with - scala.actor.Future - java.util.concurrent.Future