LocalStorageCache

ConfigCache implementation that uses localStorage as persistent storage.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open suspend override fun read(key: String): String?

Gets the actual value from the cache identified by the given key.

Link copied to clipboard
open suspend override fun write(key: String, value: String)

Writes the given value to the cache by the given key.