How should I use httpClientCall.cancel()? It seems to be only canceling the current job, so it cannot be done asynchronously
e
e5l
10/23/2019, 5:59 AM
Hi @Steve Young, you can call cancel
cancel()
anywhere. It’ll cancel all reading-writing jobs.
s
Steve Young
10/23/2019, 1:20 PM
@e5l I tried to cancel the call from another coroutine using “httpClientCall.cancel” which did not work. But if I use “job.cancel()” it cancels the request job
@e5l it looks like I cannot cancel the call in another job
e
e5l
10/23/2019, 1:35 PM
It looks like a bug. Could you file an github issue?