Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumKotlinsuspend functions usageSingle-choice MCQ

What is the effect of calling a suspend function inside withContext(Dispatchers.IO) { ... }?

suspend fun loadData(): String = withContext(Dispatchers.IO) { blockingDbCall() }