I have a few questions on handling coroutines cancellations: do we still need to write runSuspendCatching or this was fixed? Also if we would use arrow's
try
would we have to account for the coroutine or it would catches that?
s
Sam
11/22/2022, 6:32 PM
runCatching
still catches everything; that's what it's for. I doubt that would be changed as its behaviour is designed that way for specific use cases. Arrow has special handling so it allows cancellation exceptions and some other "fatal" errors to escape, though.