Do I need to have continuation.isCancelled inside ...
# coroutines
i
Do I need to have continuation.isCancelled inside suspendCancellableCoroutine for okhttp?
d
Nope. It checks that for you already.
i
Oh, is there is a release notes for it?
d
It's in the docs for
suspendCancellableCoroutine
. (OkHttp doesn't have anything to do with it)
i
I know about okhttp.
"in cancelled state is ignored"
i
small print, 🙂