You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to get rid of Task.Result in our code and follow your approach in AsyncGuidance.md#concurrentdictionarygetoradd by storing the Task instead of the actual value.
In our tests, it causes issue when the task fails (e.g. HTTP Exception) but the task obviously still gets added to the cache...
Any recommendations here?
Thanks,
Patrick
The text was updated successfully, but these errors were encountered:
Hi @davidfowl,
Trying to get rid of Task.Result in our code and follow your approach in AsyncGuidance.md#concurrentdictionarygetoradd by storing the Task instead of the actual value.
In our tests, it causes issue when the task fails (e.g. HTTP Exception) but the task obviously still gets added to the cache...
Any recommendations here?
Thanks,
Patrick
The text was updated successfully, but these errors were encountered: