Files
jsmr/JSMR.Application/Common/Caching/ICacheObject.cs

7 lines
225 B
C#

namespace JSMR.Application.Common.Caching;
public interface ICacheObject<T>
{
Task<T> GetAsync(CancellationToken cancellationToken = default);
Task<T> RefreshAsync(CancellationToken cancellationToken = default);
}