Adjusted cache to allow for throttling and locking.
This commit is contained in:
@@ -2,6 +2,6 @@
|
||||
|
||||
public interface ICache<TKey, TValue>
|
||||
{
|
||||
TValue? Get(TKey key);
|
||||
TValue? Refresh(TKey key);
|
||||
Task<TValue?> GetAsync(TKey key, CancellationToken cancellationToken);
|
||||
Task<TValue?> RefreshAsync(TKey key, CancellationToken cancellationToken);
|
||||
}
|
||||
Reference in New Issue
Block a user