SteveHanna / Namecheap-dot-net

A .NET wrapper for the Namecheap API
MIT License
17 stars 13 forks source link

Create async versions for methods #6

Open philipmat opened 5 years ago

philipmat commented 5 years ago

All methods should have async versions.

LukasCRMarketing commented 5 years ago

Hey, I could do this atleast for some of the methods that I need. Any guidlines or tips on how it should be done? Or is it just simple Task method?

philipmat commented 5 years ago

Task or Task<T> where “T” is the return type of the non-async method.

As far as guidelines and tips, I’d start with the Async/Await - Best Practices in Asynchronous Programming and go from there. If you google for “csharp async best practices” there are a few good articles on the very first page. There’s not really that much magic to it and it’s a good opportunity to learn/practice.

rickdgray commented 5 months ago

Hi, any movement on this? I'd love for these to be async. I wouldn't mind creating a PR myself if noone has started.