CacheManager<T>.justAsync constructor
Implementation
CacheManager.justAsync(
{required String key, required AsyncFunc<T> asyncBloc, int? ttlValue}) {
_strategyBuilder = StrategyBuilder<T>(key, sotrageImplimentation)
.withAsync(asyncBloc)
.withSerializer((p0) {})
.withStrategy(JustAsyncStrategy());
if (ttlValue != null) {
_strategyBuilder.withTtl(ttlValue);
}
}