Indicates whether this FutureOutcome
has completed.
Indicates whether this FutureOutcome
has completed.
true
if this FutureOutcome
has completed; false
otherwise.
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.
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.
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.
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.
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.
a new FutureOutcome
that will complete only after this FutureOutcome
and, subsequently, the passed callback function have completed 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.
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.
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.
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.
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.
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.
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.
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.
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.
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]
.
a Some
containing an Or
value that indicates the result of this
FutureOutcome
if it has completed; None
otherwise.