execute method
Implementation
Future<T?> execute() async {
try {
return await _strategy.applyStrategy<T?>(_asyncFunc,
buildSessionKey(_key), _serializerFunc, _ttlValue, _cacheStorage);
} catch (exception) {
rethrow;
}
}
Future<T?> execute() async {
try {
return await _strategy.applyStrategy<T?>(_asyncFunc,
buildSessionKey(_key), _serializerFunc, _ttlValue, _cacheStorage);
} catch (exception) {
rethrow;
}
}