AsyncRecallResult

class AsyncRecallResult

MessageSource.recallIn 的结果.

See also

Functions

awaitException
Link copied to clipboard
suspend fun awaitException(): Throwable?

等待撤回完成, 返回撤回时产生的异常.

awaitIsSuccess
Link copied to clipboard
suspend fun awaitIsSuccess(): Boolean

等待撤回完成, 返回撤回的结果.

Properties

exception
Link copied to clipboard
val exception: Deferred<Throwable?>

撤回时产生的异常. Kotlin Deferred API.

exceptionFuture
Link copied to clipboard
val exceptionFuture: <ERROR CLASS><Throwable?>

撤回时产生的异常. Java CompletableFuture API.

isSuccess
Link copied to clipboard
val isSuccess: Deferred<Boolean>

撤回是否成功. Kotlin Deferred API.

isSuccessFuture
Link copied to clipboard
val isSuccessFuture: <ERROR CLASS><Boolean>

撤回是否成功. Java CompletableFuture API.