simple<CacheContentType> static method

  1. @Deprecated('Use the constructor instead')
SimpleCachedValue<CacheContentType> simple<CacheContentType>(
  1. 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);
}