commonMain.keep.CacheConfig.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of keep-api Show documentation
Show all versions of keep-api Show documentation
An API to help caching simple objects
package keep
import koncurrent.Executor
import koncurrent.Executors
import kotlin.jvm.JvmStatic
interface CacheConfig {
val namespace: String
val executor: Executor
companion object {
@JvmStatic
val DEFAULT_NAMESPACE = "app"
@JvmStatic
val DEFAULT_EXECUTOR = Executors.default()
}
}