dorf
07/20/2020, 11:33 PMtseisel
07/21/2020, 10:03 PMsuspend fun CoroutineScope.foo()
. An extension function on CoroutineScope
should start coroutines in the provided scope, while a suspend fun
should only return after all its async work is done.
To access the current scope from a suspend fun, use the coroutineScope
block.