mirror of
https://dev.azure.com/tstanciu94/Packages/_git/Netmash
synced 2025-06-21 19:22:38 +03:00
13 lines
378 B
C#
13 lines
378 B
C#
using System.Threading;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace NDB.Extensions.Caching.Services
|
|
{
|
|
public interface ICacheService
|
|
{
|
|
Task<T> GetAsync<T>(string key, CancellationToken token = default) where T : class;
|
|
Task SetApplicationDataAsync<T>(string key, T value, CancellationToken token = default) where T : class;
|
|
void Reset();
|
|
}
|
|
}
|