suspendedTryCatchIgnore
inline suspend fun <T> suspendedTryCatchIgnore(context: CoroutineContext = Dispatchers.Default, crossinline block: suspend () -> T)
suspendedTryCatchIgnore used when you want to ignore catch block if an exception is thrown in suspend functions.
Example:
suspend fun foo() = suspendedTryCatchIgnore {
// do something
}
Content copied to clipboard
Since
1.2.0