dragonfruitnetwork / dragon6-api

Rainbow Six Siege Stats API for .NET
Apache License 2.0
12 stars 6 forks source link

Update data library #318

Closed aspriddell closed 2 years ago

aspriddell commented 2 years ago

This finally makes the entire token fetching flow asynchronous, with almost no additional pressure when pulling it from the cache, thanks to ValueTasks and being able to hide the OnExecutingAsync() methods is also a bonus.

Only breaking change is the RequestAccessToken now returns a ValueTask<IUbisoftToken>, which means the method needs to be made async, which shouldn't be an issue.

Extra TODOs