using System.Threading; using System.Threading.Tasks; namespace NDB.Extensions.Caching.Services { public interface ICacheService { Task GetAsync(string key, CancellationToken token = default) where T : class; Task SetApplicationDataAsync(string key, T value, CancellationToken token = default) where T : class; void Reset(); } }