object FutureOutcome
Companion object to FutureOutcomes
that contains factory methods for creating already-completed
FutureOutcomes
.
- Source
- FutureOutcome.scala
- Alphabetic
- By Inheritance
- FutureOutcome
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
def
canceled(message: String, cause: Throwable): FutureOutcome
Factory method that creates an already completed
FutureOutcome
with aCanceled
result whoseTestCanceledException
contains the specified message and cause.Factory method that creates an already completed
FutureOutcome
with aCanceled
result whoseTestCanceledException
contains the specified message and cause. -
def
canceled(cause: Throwable): FutureOutcome
Factory method that creates an already completed
FutureOutcome
with aCanceled
result whoseTestCanceledException
contains the specified cause.Factory method that creates an already completed
FutureOutcome
with aCanceled
result whoseTestCanceledException
contains the specified cause. -
def
canceled(message: String): FutureOutcome
Factory method that creates an already completed
FutureOutcome
with aCanceled
result whoseTestCanceledException
contains the specified message.Factory method that creates an already completed
FutureOutcome
with aCanceled
result whoseTestCanceledException
contains the specified message. -
def
canceled(): FutureOutcome
Factory method that creates an already completed
FutureOutcome
with aCanceled
result.Factory method that creates an already completed
FutureOutcome
with aCanceled
result. -
def
failed(cause: Throwable): FutureOutcome
Factory method that creates an already completed
FutureOutcome
with aFailed
result containing aTestFailedException
with the specified cause.Factory method that creates an already completed
FutureOutcome
with aFailed
result containing aTestFailedException
with the specified cause. -
def
failed(message: String, cause: Throwable): FutureOutcome
Factory method that creates an already completed
FutureOutcome
with aFailed
result containing aTestFailedException
with the specified message and cause.Factory method that creates an already completed
FutureOutcome
with aFailed
result containing aTestFailedException
with the specified message and cause. -
def
failed(message: String): FutureOutcome
Factory method that creates an already completed
FutureOutcome
with aFailed
result containing aTestFailedException
with the specified message.Factory method that creates an already completed
FutureOutcome
with aFailed
result containing aTestFailedException
with the specified message. -
def
failed(): FutureOutcome
Factory method that creates an already completed
FutureOutcome
with aFailed
result.Factory method that creates an already completed
FutureOutcome
with aFailed
result. -
def
pending: FutureOutcome
Factory method that creates an already completed
FutureOutcome
with aPending
result.Factory method that creates an already completed
FutureOutcome
with aPending
result. -
def
succeeded: FutureOutcome
Factory method that creates an already completed
FutureOutcome
with aSucceeded
result.Factory method that creates an already completed
FutureOutcome
with aSucceeded
result.