Closed maxhauser closed 5 years ago
Shouldn't the .Value
go before the await
?
The pattern is to usually have Lazy<Task<T>>
rather than Task<Lazy<T>>
.
Edit: Sorry, just realised this is caching not Lazy
🤦♂️
Yes, you are totally right. I fixed that (the position of the .Value property was wrong as well). Thank you.
Call
.Value
onLazy<>
result.