Adriano Celentano
suspend fun test() { suspendingFunctionScope.launch { ... } }
Fudge
tseisel
launch
coroutineScope
suspend fun test() = coroutineScope { launch { ... } }
test
CoroutineScope
fun CoroutineScope.test()
class GameEngine { fun CoroutineScope.start() { ... }
val engine = GameEngine() with(engine) { scope.start() }
fun startIn(scope: CoroutineScope)
A modern programming language that makes developers happier.