execute
Executes block; on failure (excluding kotlinx.coroutines.CancellationException) invokes FallbackConfig.onFallback and returns its result.
Return
The result of block on success, or the result of FallbackConfig.onFallback on failure.
Parameters
block
The suspendable operation to execute.
Type Parameters
T
The return type of the block and fallback.