Coşkun Yalçınkaya
Coşkun Yalçınkaya
You can do something like below i think. ``` abstract class UseCase : CoroutineScope where Type : Any { private val job = Job() abstract suspend fun run(params: Params): Either...
@Zhuinden I think its possible but in this example if you don't use async it will throw NetworkOnMainThreadException. If you use [https://github.com/JakeWharton/retrofit2-kotlin-coroutines-adapter](url) or a solution like this, then you can...
Thanks, I was too busy. I will try in next weekend.