execute method

Future<T?> execute()

Implementation

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