C# and Python: soft flush means one thing (soft-flush-cs-py) (#153)
This commit is contained in:
parent
845c024379
commit
558526c125
17 changed files with 560 additions and 32 deletions
|
|
@ -96,11 +96,14 @@ namespace GameCult.Networking
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Flushes the durable cache.
|
||||
/// Flushes the durable cache. With <paramref name="soft"/> the flush has one meaning, decided by the store's own
|
||||
/// read and never by what the cache holds in memory: a store with nothing at its path is written; a store that reads
|
||||
/// (empty included) is skipped and its staged writes stay staged; a store that cannot be read refuses with
|
||||
/// <see cref="CultStoreUnreadableException"/> and is left untouched.
|
||||
/// </summary>
|
||||
public Task FlushAsync(bool soft = false)
|
||||
{
|
||||
return Cache.FlushAsync();
|
||||
return Cache.FlushAsync(soft);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
Loading…
Reference in a new issue