elizarov
03/04/2017, 4:22 PMUnconfined
, is that precisely reflected in its name. It is not confined to any thread, so after first suspension it will resume somewhere else (depending on what suspending function you were using). For example:
launch(Unconfined) {
\\ yes, we are still in Android Main Thread here
delay(1000) \\ wait a second
\\ Boom! We are now in different thread! Cannot touch our UI anymore!
}