Closed joyhguan closed 1 year ago
Hey @joyhguan we would like to follow your advice to add this cancellationToken in. However, I am a bit stuck on getting am example to work as a test. Could you please share an implementation example? e.g. start an Async API method and cancel it?
Cancellation tokens have now been added to all async methods with the 3.31.0 SDK release.
Yay!!!!
SDK you're using (please complete the following information):
Is your feature request related to a problem? Please describe. Yes...This is no CancellationToken so even if an operation is cancelled the app will still wait xero api to return :(
Describe the solution you'd like Add CancellationToken as an argument and also use it in ApiClient change your SDK code from
to be something like
:(