kotlin
gson
moshi
jackson
intellij-plugin
android-studio-plugin
logansquare
fastjson
androidstudio-plugin
json-to-kotlin
-
Updated
Aug 30, 2020 - Kotlin
When an API exception is happening the exception should be caught in catch block is it?
`
fun invoke(
scope: CoroutineScope,
params: Params?,
onResult: (UseCaseResponse)
) {
val backgroundJob = scope.async {
run(params)
}
scope.launch {
backgroundJob.await().let {
try {