mirror of
https://github.com/InsanusMokrassar/MicroUtils.git
synced 2026-11-10 14:04:01 +00:00
complete improvements in repos ktor parts
This commit is contained in:
1 parent
eaa143f7d7
commit
78903cd4eb
30 files changed
+805
-38
No files matched your search
+4
@@ -80,6 +80,10 @@ class MapWriteOneToManyKeyValueRepo<Key, Value>(
|
||||
_onValueRemoved.emit(k to v)
|
||||
}
|
||||
}
|
||||
if (map[k] ?.isEmpty() == true) {
|
||||
map.remove(k)
|
||||
_onDataCleared.emit(k)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user