# asKeyValueRepo

fun < K , V > MutableMap < K , V >. asKeyValueRepo (locker: SmartRWLocker = SmartRWLocker()): KeyValueRepo < K , V >(source)

MutableMap-based KeyValueRepo. All internal operations will be locked with locker

Warning: It is not recommended to use constructor with both MutableMap and SmartRWLocker. Besides, in case you are using your own MutableMap as a this you should be careful with operations on this this