How should I use httpClientCall.cancel()? It seems...
# ktor
s
How should I use httpClientCall.cancel()? It seems to be only canceling the current job, so it cannot be done asynchronously
e
Hi @Steve Young, you can call cancel
cancel()
anywhere. It’ll cancel all reading-writing jobs.
s
@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
It looks like a bug. Could you file an github issue?
s
issue created
🙏 1