Open JanMalch opened 2 months ago
Hi. Do you mean AutoCloseable
from Java? What would be equivalent API / behaviors from other platforms will be?
There seems to be a multiplatform-ready interface in the standard library: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-auto-closeable/
Hi, I think it would be useful if the store implements
AutoCloseable
and one can configure the store to delete all data when it's closed. What do you think?