CachedValue<CacheContentType> constructor
CachedValue<CacheContentType> (
- ComputeCacheCallback<
CacheContentType> callback
A shorthand to CachedValue.simple.
Implementation
factory CachedValue(ComputeCacheCallback<CacheContentType> callback) {
return CachedValue.simple(callback);
}