Packages

object FutureOutcome

Companion object to FutureOutcomes that contains factory methods for creating already-completed FutureOutcomes.

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

Value Members

  1. def canceled(message: String, cause: Throwable): FutureOutcome

    Factory method that creates an already completed FutureOutcome with a Canceled result whose TestCanceledException contains the specified message and cause.

    Factory method that creates an already completed FutureOutcome with a Canceled result whose TestCanceledException contains the specified message and cause.

  2. def canceled(cause: Throwable): FutureOutcome

    Factory method that creates an already completed FutureOutcome with a Canceled result whose TestCanceledException contains the specified cause.

    Factory method that creates an already completed FutureOutcome with a Canceled result whose TestCanceledException contains the specified cause.

  3. def canceled(message: String): FutureOutcome

    Factory method that creates an already completed FutureOutcome with a Canceled result whose TestCanceledException contains the specified message.

    Factory method that creates an already completed FutureOutcome with a Canceled result whose TestCanceledException contains the specified message.

  4. def canceled(): FutureOutcome

    Factory method that creates an already completed FutureOutcome with a Canceled result.

    Factory method that creates an already completed FutureOutcome with a Canceled result.

  5. def failed(cause: Throwable): FutureOutcome

    Factory method that creates an already completed FutureOutcome with a Failed result containing a TestFailedException with the specified cause.

    Factory method that creates an already completed FutureOutcome with a Failed result containing a TestFailedException with the specified cause.

  6. def failed(message: String, cause: Throwable): FutureOutcome

    Factory method that creates an already completed FutureOutcome with a Failed result containing a TestFailedException with the specified message and cause.

    Factory method that creates an already completed FutureOutcome with a Failed result containing a TestFailedException with the specified message and cause.

  7. def failed(message: String): FutureOutcome

    Factory method that creates an already completed FutureOutcome with a Failed result containing a TestFailedException with the specified message.

    Factory method that creates an already completed FutureOutcome with a Failed result containing a TestFailedException with the specified message.

  8. def failed(): FutureOutcome

    Factory method that creates an already completed FutureOutcome with a Failed result.

    Factory method that creates an already completed FutureOutcome with a Failed result.

  9. def pending: FutureOutcome

    Factory method that creates an already completed FutureOutcome with a Pending result.

    Factory method that creates an already completed FutureOutcome with a Pending result.

  10. def succeeded: FutureOutcome

    Factory method that creates an already completed FutureOutcome with a Succeeded result.

    Factory method that creates an already completed FutureOutcome with a Succeeded result.