Trait/Object

zenith

Async

Related Docs: object Async | package zenith

Permalink

trait Async[Z[_]] extends Serializable

Async

This typeclass is an abstraction over common features available in different flavours of Future, like: - scala.concurrent.Future - com.twitter.util.Future - scala.actor.Future - java.util.concurrent.Future

Linear Supertypes
Serializable, Serializable, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Async
  2. Serializable
  3. Serializable
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def await[T](v: Z[T], seconds: Int): Either[Throwable, T]

    Permalink
  2. abstract def failure[T](expression: ⇒ Throwable): Z[T]

    Permalink
  3. abstract def future[T](expression: ⇒ T): Z[T]

    Permalink
  4. abstract def getClass(): Class[_]

    Permalink
    Definition Classes
    Any
  5. abstract def liftScalaFuture[T](expression: ⇒ Future[T]): Z[T]

    Permalink
  6. abstract def liftScalaFutureWithScalaExecutionContext[T](expression: (ExecutionContext) ⇒ Future[T]): Z[T]

    Permalink
  7. abstract def liftWithScalaExecutionContext[T](expression: (ExecutionContext) ⇒ T): Z[T]

    Permalink
  8. abstract def onComplete[X, Y](v: Z[X])(fn: (Try[X]) ⇒ Y): Unit

    Permalink
  9. abstract def promise[T](): Promise[Z, T]

    Permalink
  10. abstract def success[T](expression: ⇒ T): Z[T]

    Permalink

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  6. def hashCode(): Int

    Permalink
    Definition Classes
    Any
  7. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  8. def toString(): String

    Permalink
    Definition Classes
    Any
  9. def transform[A, B](v: Z[A])(fn: (Try[A]) ⇒ B): Z[B]

    Permalink

Inherited from Serializable

Inherited from Serializable

Inherited from Any

Ungrouped