close

suspend fun close()

Releases the DataStore this process holds for the file, along with the in-memory copy of its contents. The next operation reopens it, so calling this is never required in normal use — reach for it when something outside the store is about to touch the file, or to drop decrypted records from memory.