User interface for class MessagePromise
Type parameters
- R
-
type of Reply
Attributes
- Companion
- object
- Graph
-
- Supertypes
Members list
Value members
Inherited methods
Returns the cause of the failed operation if the operation has failed.
Returns the cause of the failed operation if the operation has failed.
Attributes
- Returns
-
The cause of the failure, if any. Otherwise None if succeeded.
- Throws
-
IllegalStateException
if this Promise has not completed yet.
- Inherited from:
- Future
Returns the cause of the failed operation if the operation has failed.
Returns the cause of the failed operation if the operation has failed.
Attributes
- Returns
-
The cause of the failure, if any.
- Throws
-
IllegalStateException
if this Promise has not completed yet, or if it has been succeeded.
- Inherited from:
- Future
Return the successful result of this asynchronous operation, if any. If the operation has not yet been completed, then this will throw IllegalStateException . If the operation has been failed with an exception, then this throw cause .
Return the successful result of this asynchronous operation, if any. If the operation has not yet been completed, then this will throw IllegalStateException . If the operation has been failed with an exception, then this throw cause .
Attributes
Return true if this operation has been completed either Promise.setSuccess successfully, Promise.setFailure unsuccessfully.
Return true if this operation has been completed either Promise.setSuccess successfully, Promise.setFailure unsuccessfully.
Attributes
- Returns
-
true if this operation has completed, otherwise false.
- Inherited from:
- Future
Returns true if and only if the operation was completed and failed.
Returns true if and only if the operation was completed and failed.
Attributes
- Inherited from:
- Future
Returns true if and only if the operation was completed successfully.
Returns true if and only if the operation was completed successfully.
Attributes
- Inherited from:
- Future