Updated Default TTS requests to use stores. Added a modify method for grouped save stores.

This commit is contained in:
Tom
2024-10-20 18:07:18 +00:00
parent 4d0b38babd
commit 0fa0ddcc45
7 changed files with 58 additions and 29 deletions

View File

@@ -5,6 +5,7 @@ namespace HermesSocketServer.Store
V? Get(K key);
IDictionary<K, V> Get();
Task Load();
bool Modify(K? key, Action<V> action);
void Remove(K? key);
Task<bool> Save();
bool Set(K? key, V? value);