Documentation

LeanRedis.Cache.Cache

structure Cache (τ : Type) :
Instances For
    Equations
    Instances For
      @[inline, specialize #[]]

      Gets a value from the cache by key. If no value is found, the callback will be called to populate it. The callback is executed exactly once for each key, even if multiple threads request the same key concurrently. Cache stampedes are prevented

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For