AsyncRecallResult

class AsyncRecallResult

MessageSource.recallIn 的结果.

See also

Functions

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

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

Link copied to clipboard
suspend fun awaitIsSuccess(): Boolean

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

Properties

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

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

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

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

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

撤回是否成功. Kotlin Deferred API.

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

撤回是否成功. Java CompletableFuture API.