Class/Object

org.scalatest

FutureOutcome

Related Docs: object FutureOutcome | package scalatest

Permalink

class FutureOutcome extends AnyRef

Source
FutureOutcome.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FutureOutcome
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new FutureOutcome(underlying: Future[Outcome])

    Permalink

Value Members

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

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

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

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

    Permalink
    Definition Classes
    Any
  5. def change(f: (Outcome) ⇒ Outcome)(implicit executionContext: ExecutionContext): FutureOutcome

    Permalink
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  11. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  12. def isCompleted: Boolean

    Permalink

    Indicates whether this FutureOutcome has completed.

    Indicates whether this FutureOutcome has completed.

    returns

    true if this FutureOutcome has completed; false otherwise.

  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. def onAbortedThen(callback: (Throwable) ⇒ Unit)(implicit executionContext: ExecutionContext): FutureOutcome

    Permalink

    Registers a callback function to be executed if this future completes because a suite-aborting exception was thrown, returning a new future that completes only after the callback has finished execution.

    Registers a callback function to be executed if this future completes because a suite-aborting exception was thrown, returning a new future that completes only after the callback has finished execution.

    returns

    a new FutureOutcome that will complete only after this FutureOutcome has completed and, if this FutureOutcome completes abnormally with a suite-aborting exception, the passed callback function has completed execution.

  18. def onCanceledThen(callback: (TestCanceledException) ⇒ Unit)(implicit executionContext: ExecutionContext): FutureOutcome

    Permalink

    Registers a callback function to be executed if this future completes with Canceled, returning a new future that completes only after the callback has finished execution.

    Registers a callback function to be executed if this future completes with Canceled, returning a new future that completes only after the callback has finished execution.

    returns

    a new FutureOutcome that will complete only after this FutureOutcome has completed and, if this FutureOutcome completes with Canceled, the passed callback function has completed execution.

  19. def onCompletedThen(callback: (Or[Outcome, Throwable]) ⇒ Unit)(implicit executionContext: ExecutionContext): FutureOutcome

    Permalink

    Registers a callback function to be executed after this future completes, returning a new future that completes only after the callback has finished execution.

    Registers a callback function to be executed after this future completes, returning a new future that completes only after the callback has finished execution.

    returns

    a new FutureOutcome that will complete only after this FutureOutcome and, subsequently, the passed callback function have completed execution.

  20. def onFailedThen(callback: (Throwable) ⇒ Unit)(implicit executionContext: ExecutionContext): FutureOutcome

    Permalink

    Registers a callback function to be executed if this future completes with Failed, returning a new future that completes only after the callback has finished execution.

    Registers a callback function to be executed if this future completes with Failed, returning a new future that completes only after the callback has finished execution.

    returns

    a new FutureOutcome that will complete only after this FutureOutcome has completed and, if this FutureOutcome completes with Failed, the passed callback function has completed execution.

  21. def onOutcomeThen(callback: (Outcome) ⇒ Unit)(implicit executionContext: ExecutionContext): FutureOutcome

    Permalink

    Registers a callback function to be executed if this future completes with any Outcome (i.e., no suite-aborting exception is thrown), returning a new future that completes only after the callback has finished execution.

    Registers a callback function to be executed if this future completes with any Outcome (i.e., no suite-aborting exception is thrown), returning a new future that completes only after the callback has finished execution.

    returns

    a new FutureOutcome that will complete only after this FutureOutcome has completed and, if this FutureOutcome completes with a valid Outcome, the passed callback function has completed execution.

  22. def onPendingThen(callback: ⇒ Unit)(implicit executionContext: ExecutionContext): FutureOutcome

    Permalink

    Registers a callback function to be executed if this future completes with Pending, returning a new future that completes only after the callback has finished execution.

    Registers a callback function to be executed if this future completes with Pending, returning a new future that completes only after the callback has finished execution.

    returns

    a new FutureOutcome that will complete only after this FutureOutcome has completed and, if this FutureOutcome completes with Pending, the passed callback function has completed execution.

  23. def onSucceededThen(callback: ⇒ Unit)(implicit executionContext: ExecutionContext): FutureOutcome

    Permalink

    Registers a callback function to be executed if this future completes with Succeeded, returning a new future that completes only after the callback has finished execution.

    Registers a callback function to be executed if this future completes with Succeeded, returning a new future that completes only after the callback has finished execution.

    returns

    a new FutureOutcome that will complete only after this FutureOutcome has completed and, if this FutureOutcome completes with Succeeded, the passed callback function has completed execution.

  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  25. def toFuture: Future[Outcome]

    Permalink
  26. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  27. def value: Option[Or[Outcome, Throwable]]

    Permalink

    Returns a value that indicates whether this FutureOutcome has completed, and if so, indicates its result.

    Returns a value that indicates whether this FutureOutcome has completed, and if so, indicates its result.

    If this FutureOutcome has not yet completed, this method will return None. Otherwise, this method will return a Some that contains either a Good[Outcome], if this FutureOutcome completed with a valid Outcome result, or if it completed with a thrown suite-aborting exception, a Bad[Throwable].

    returns

    a Some containing an Or value that indicates the result of this FutureOutcome if it has completed; None otherwise.

  28. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped