Dispatchers.Main & Android

Sat, 11 Jul 2020 00:00:00 +0000

Coroutines provide a “lightweight thread” abstraction that—among other things—makes getting off of the main thread dead simple. How, though, do coroutines avoid slowing down the main thread if you never leave it?