elizarov
03/13/2017, 5:33 PMawait
can be used from a UI-confined coroutine and it will stay in UI thread without blocking UI and without having to do invokeLater
, or you can use it from an actor, and you'll get a actor-confinement of all the state.