Package-level declarations

Functions

Link copied to clipboard
inline fun <R> runCatchingCancellable(block: () -> R): Result<R>

类似于kotlin.runCatching,但会继续传播 CancellationException。

Inherited functions

Link copied to clipboard
inline fun <T, R> T.runCatchingCancellable(block: T.() -> R): Result<R>

类似于kotlin.runCatching,但会继续传播 CancellationException。