Add project files.
This commit is contained in:
7
JSMR.Application/Common/Caching/ICache.cs
Normal file
7
JSMR.Application/Common/Caching/ICache.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
namespace JSMR.Application.Common.Caching;
|
||||
|
||||
public interface ICache
|
||||
{
|
||||
ValueTask<T?> GetAsync<T>(string key, CancellationToken cancellationToken = default);
|
||||
ValueTask SetAsync<T>(string key, T value, CacheEntryOptions options, CancellationToken cancellationToken = default);
|
||||
}
|
||||
Reference in New Issue
Block a user