suspendRunCatchingCancellable

inline suspend fun <T> suspendRunCatchingCancellable(block: suspend () -> T): Result<T>

Suspend variant of runCatchingCancellable. Use instead of runCatching around suspend work.

Non-CancellationException failures (including Error) become Result.failure.