using System;
namespace StardewModdingAPI.Web.Framework.Caching
{
/// Encapsulates logic for accessing data in the cache.
internal interface ICacheRepository
{
/// Whether cached data is stale.
/// The date when the data was updated.
/// The age in minutes before data is considered stale.
bool IsStale(DateTimeOffset lastUpdated, int staleMinutes);
}
}