russhwolf / multiplatform-settings

A Kotlin Multiplatform library for saving simple key-value data
Apache License 2.0
1.49k stars 64 forks source link

Cache control for multiplatform settings #190

Closed danidiprana closed 3 months ago

danidiprana commented 3 months ago

Hello,

is there an ability or possibility in the roadmap to automatically delete/purge a setting when the size is larger than something or if the value is inactive after a while? or maybe delete old data like the LRU algorithm?

thanks

russhwolf commented 3 months ago

I don't currently see this as in-scope for the library. None of the platform APIs we wrap currently provide this functionality, as far as I'm aware.