Replies: 4 comments 6 replies
-
Oops :s Well, I have to admit that's quite the only feature I did not cover by tests, as you may notice into my Tests project. So classic... Will try to find time to fix it this week, so expect a 5.3 shortly :) Thanks for sharing |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
No problem, glad I could help. The code I was using is
but I assume, now you've mentioned it, only cancels with Apizr and not Refit. Are you saying I should add the cancellationToken on my Refit interface explicitly ? I used to have it like this but removed it after reading the docs :)
So something like that ? |
Beta Was this translation helpful? Give feedback.
-
Hey @henda79, Thanks |
Beta Was this translation helpful? Give feedback.
-
Hey guys, first off this is great library... I'm glad I found it.
I've stated implementing this in .NET 7 MAUI and so far , so good, except I notice if I implement the cancellation like the docs, using the
optionsBuilder
, the call never gets cancelled.https://www.apizr.net/articles/config_cancellation.html
However if I use
WithCancellation
on theExecuteAsync
method, it works as expected.Beta Was this translation helpful? Give feedback.
All reactions