tuweni / org.apache.tuweni.concurrent / CompletableAsyncResult / completeExceptionally

completeExceptionally

abstract fun completeExceptionally(ex: Throwable): Boolean (source)

Complete this result with the given exception.

Parameters

ex - The exception to complete this result with.

Return
true if this invocation caused this result to transition to a completed state, else false.