<@U0AAQKT9Q> Are you sure that's true? Did you tak...
# coroutines
c
@ilya.gorbunov Are you sure that's true? Did you take a look at my post (https://discuss.kotlinlang.org/t/handling-android-lifecycle-events-with-coroutines/2440) in the forum?
onPause
may be invoked on the UI thread between
download().await()
and
performSomeWorkOnTheUI()
since the call to
performSomeWorkOnTheUI
is posted to a
Handler
. The
Handler
may process this message after
onPause
has happened.