Is putting `okhttpclient.newCall(request).execute(...
# android
a
Is putting
okhttpclient.newCall(request).execute()
inside a coroutine going to cause any problems, as compared to calling
enqueue
wrapped around a
suspendCancellableCoroutine
?
g
Coroutine thread will be blocked, you have to wrap to io dispatcher, cancellation will not work, standard threading limits of okhttp dispatcher will not be applied
a
Thanks @gildor!! I guess I'm going to use your library then 😄