concurrent / org.apache.tuweni.concurrent / CompletableAsyncCompletion / completeExceptionally

completeExceptionally

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

Complete this completion with the given exception.

Parameters

ex - The exception to complete this result with.

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