safelyWithResult

inline suspend fun <T> safelyWithResult(noinline block: suspend CoroutineScope.() -> T): Result<T>