Bernhard
07/07/2024, 11:34 AMsuspend fun x() = delay(200)
and
suspend fun x() = coroutineScope { delay(200) }
Joffrey
07/07/2024, 11:35 AMcoroutineScope { ... }
is only useful if you need to start new coroutines.Bernhard
07/07/2024, 11:36 AMJoffrey
07/07/2024, 11:36 AMBernhard
07/07/2024, 11:36 AM