hackerham
suspend fun insideJob() { val criticalJob = defer { someCode } ; try { criticalJob.await(); } catch (e: CancellationException) { println("Got interrupt, but critical stuff is complete"); } }