How To Get Deffered From Dao?
I want to get Kotlin Coroutnies Deffered from DAO @Query('select * from gameprocess where cabinId = :cabinId ') fun getAllGameProccesBiCabin(cabinId :Int) : Deferred
Solution 1:
here is dependency which allows me to use async{}.await
https://github.com/Kotlin/kotlinx.coroutines/blob/master/ui/coroutines-guide-ui.md
The problem was that I was using old version which doesn't support it.
Post a Comment for "How To Get Deffered From Dao?"