Closed linkdotnet closed 5 months ago
Thank you for the contribution.
I do not want to expose Value Task in any way from this lib. As Signals should be able to be read multiple times.
But at the moment I do not see why Stale would be exposed in the Future. Therefor LGTM.
I still would like to think about introducing Value Task a bit more.
It’s absolutely fine to keep the PR around without merging and tacking it later one
The Pull Request adds optimization in scenarios where the cache is hit, and the value doesn't have to be evaluated, leading to a smaller footprint and an overall more expressive API.