abstract fun completeExceptionally(ex: Throwable): Boolean
(source)
Complete this completion with the given exception.
ex
- The exception to complete this result with.
Return
true
if this invocation caused this completion to transition to a completed state, else false
.