Std.App.Cache.Found
type
FoundThis declaration introduces a public type.
What it does
What a lookup found.
Three answers rather than two, and that is the whole design. An interface
answering a value or nothing forces a caller to treat an expired entry as
an absent one — so when a much-read key expires, every request that wanted
it finds nothing and every one of them recomputes it at the same moment,
against whatever the cache was protecting. Told the entry is stale, a
caller hands back the old answer and refreshes once.
Read the signature
- This declaration has no value signature because it introduces a type or trait.
