Open davistsin opened 11 months ago
Also wanna add trim() function.
The totalSize() of an MMKV instance won't reduce after deleting key-values, call this method after lots of deleting if you care about disk usage. Note that clearAll() has a similar effect.
Also wanna add trim() function.
Not in my free time, no
i could help about this, @mrousavy this enhancement is it ok for you?
MMKV provide function (Global Expiration)
And support
set
function parameter uint32_t expireDurationBut not seen in this library.
I hope
react-native-mmkv
can support those feature.