scala.concurrent

ops

object ops extends AnyRef

The object ops ...

Inherits

  1. AnyRef
  2. Any

Value Members

  1. val defaultRunner: FutureTaskRunner

  2. def equals(arg0: Any): Boolean

    This method is used to compare the receiver object (this) with the argument object (arg0) for equivalence

  3. def future[A](p: ⇒ A)(runner: FutureTaskRunner): () ⇒ A

  4. def getOrThrow[T <: Throwable, A](x: Either[T, A]): A

  5. def hashCode(): Int

    Returns a hash code value for the object

  6. def par[A, B](xp: ⇒ A, yp: ⇒ B): (A, B)

  7. def replicate(start: Int, end: Int)(p: (Int) ⇒ Unit): Unit

  8. def spawn(p: ⇒ Unit)(runner: TaskRunner): Unit

    Evaluates an expression asynchronously

  9. def toString(): String

    Returns a string representation of the object

  10. def tryCatch[A](body: ⇒ A): Either[Throwable, A]

    If expression computed successfully return it in Right, otherwise return exception in Left

  11. def tryCatchEx[A](body: ⇒ A): Either[Exception, A]