Perhaps, rather than directly using suspendCancell...
# coroutines
t
Perhaps, rather than directly using suspendCancellableCoroutine {}, I think that it is safer to await () after creating Deferred https://github.com/JakeWharton/retrofit2-kotlin-coroutines-adapter/blob/master/src/main/java/com/jakewharton/retrofit2/adapter/kotlin/coroutines/CoroutineCallAdapterFactory.kt#L87
👍 1
g
I'm not sure that this somehow safer