:thinking_face: not sure about the difference betw...
# anko
a
🤔 not sure about the difference between
launch(UI)
and
async(UI)
tbh, but worth trying
l
antonioleiva: launch returns
Unit
while
async
returns a
Deffered
on which you can call
await()
from a coroutine. I use
async
for methods in a Repository, so the UI code using it can await for completion without blocking UI thread in coroutines