修离线缓存
This commit is contained in:
4
Cache.cs
4
Cache.cs
@@ -13,10 +13,12 @@ namespace AnotherReplayReader
|
||||
public static string CacheFilePath => Path.Combine(CacheDirectory, "AnotherReplayReader.cache");
|
||||
|
||||
private readonly ConcurrentDictionary<string, string> _storage = new();
|
||||
|
||||
public Task Initialization { get; }
|
||||
|
||||
public Cache()
|
||||
{
|
||||
Task.Run(async () =>
|
||||
Initialization = Task.Run(async () =>
|
||||
{
|
||||
try
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user