amzn / amazon-pay-api-sdk-dotnet

Amazon Pay API SDK (.NET)
Apache License 2.0
18 stars 8 forks source link

Async Tasks #10

Open verelpode opened 3 years ago

verelpode commented 3 years ago

Hello! Are there any plans to support C# async tasks for the methods that perform communication over the internet?
I see the README.md mentions, for example:

"This sample uses an ASP.NET Core Razor Page"

That version of ASP.NET is designed with async tasks. Will the Amazon Pay SDK likewise support async tasks sometime in future?

Ideally each async method would also include a CancellationToken parameter if possible.

Async tasks would be great to have, although in my opinion I'd rank it as a lower priority than supporting recurring payments/subscriptions, and also lower priority than supporting the new .NET 5.0 in both the old and new SDK's.

shangamesh commented 3 years ago

Thanks for the suggestion. We will check with our team to implement this functionality in future