//android/dev.atick.core.utils/suspendRunCatching
suspendRunCatching
[androidJvm]\ inline suspend fun <T> suspendRunCatching(crossinline block: suspend () -> T): Result<T>
Runs the specified block and returns the result as a Result.
Return
The result of the block.
Parameters
androidJvm
block | The block to execute. |