Heya, I have an odd question. Can `try { } catch(e...
# coroutines
d
Heya, I have an odd question. Can
try { } catch(e: Exception) { }
inside
suspendCancellableCoroutine
break coroutine cancellation by consuming
CancellationException
? Does it also implies to coroutine adapters?
n
The argument of suspendCancellableCoroutine is not a suspend function. Once you get in that lambda, you are no longer calling suspend methods that might be cancelled and throw CancellationException.