BlockingContextualCache
A blocking cache wrapper, which offers different results depending on the context.
Unlike asynchronous caches, this implementation doesn't allow subscribing to a value to see it change over time.
To instantiate this class, see the blocking helper.
Parameters
The identifier used to request from the cache
The context which differentiates between cache results.
The possible failures when requesting from the cache.
The possible successful values when requesting from the cache.
Functions
Tells the cache that the value it stores for the given ids and contexts are out-of-date, and should be queried again next time they are requested.
Convenience function to access a value from InfallibleCache that are blocking.
Forces the cache to accept the given values as more recent than their associated identifier than whatever was previously stored.