efemoney
finally
suspendFunA()
suspendFunB()
try { ~ suspendFunA() } finally { ~ suspendFunB() }
Sam
try { suspendFunA() } finally { withContext(NonCancellable) { suspendFunB() } }
Youssef Shoaib [MOD]
Resource
NonCancellable
ResourceScope
A modern programming language that makes developers happier.