jcheng31 / DarkSkyApi

An unofficial C# library for the Dark Sky weather service. Targets .NET Standard 1.1.
MIT License
32 stars 18 forks source link

Async / await cleanup #15

Closed IEvangelist closed 8 years ago

IEvangelist commented 8 years ago

Removed unnecessary async / await keywords. For simple Task and Task<T> methods you only need to await if you're using the or relying on the result of the task, in these cases we can simply return the task that will represent the asynchronous operation. Additionally, I removed some redundant this keywords while I was in here.

Additionally, I added the "Async" suffix to one of the methods that was missing it.

jcheng31 commented 8 years ago

Thanks a lot!