Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumKotlinexception handling in coroutinesSingle-choice MCQ

What does this code print, given that the exception is thrown inside an `async` whose result is never awaited?

suspend fun main() = coroutineScope { val d = async { throw RuntimeException("boom") } delay(100) println("done") }