mirror of
https://github.com/InsanusMokrassar/MicroUtils.git
synced 2026-11-20 19:03:06 +00:00
kv rework, fixes in map keyvalue repo, tests
This commit is contained in:
1 parent
bcb0e42fa2
commit
eaa143f7d7
20 files changed
+814
-23
No files matched your search
@@ -50,3 +50,10 @@ interface StandardKeyValueRepo<Key, Value> : ReadStandardKeyValueRepo<Key, Value
|
||||
}
|
||||
}
|
||||
typealias KeyValueRepo<Key,Value> = StandardKeyValueRepo<Key, Value>
|
||||
|
||||
class DelegateBasedStandardKeyValueRepo<Key, Value>(
|
||||
readDelegate: ReadStandardKeyValueRepo<Key, Value>,
|
||||
writeDelegate: WriteStandardKeyValueRepo<Key, Value>
|
||||
) : StandardKeyValueRepo<Key, Value>,
|
||||
ReadStandardKeyValueRepo<Key, Value> by readDelegate,
|
||||
WriteStandardKeyValueRepo<Key, Value> by writeDelegate
|
||||
Reference in new issue
Block a user