BlockingCache
A blocking cache implementation.
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
Identifier
An identifier representing a cached object.
Failure
A cache value that represents a failure.
Value
A cache value that represents a success.
Functions
Link copied to clipboard
Convenience function to access a value from InfallibleCache that are blocking.
Link copied to clipboard
Forces the cache to accept the given values as more recent than their associated identifier than whatever was previously stored.