A tiny Kotlin multiplatform library that assists in saving and restoring objects to and from disk using kotlinx.coroutines, kotlinx.serialisation and kotlinx.io
kstore-file can store malformed json data in a file if a coroutine is cancelled mid-write and cause a JsonDecodingException when attemping to read this value back.
In such instances - we should be be restoring the file back to the previous known valid state and handle store updates as transactions
kstore-file
can store malformed json data in a file if a coroutine is cancelled mid-write and cause aJsonDecodingException
when attemping to read this value back.In such instances - we should be be restoring the file back to the previous known valid state and handle store updates as transactions