simple<CacheContentType> static method
- @Deprecated('Use the constructor instead')
- ComputeCacheCallback<
CacheContentType> callback
Creates a CachedValue that is only manually invalidated.
Use new CachedValue
instead.
Implementation
@Deprecated('Use the constructor instead')
static SimpleCachedValue<CacheContentType> simple<CacheContentType>(
ComputeCacheCallback<CacheContentType> callback) {
return SimpleCachedValue<CacheContentType>(callback);
}