KeyValueStore

abstract class KeyValueStore<Controller>(controller: Controller, val name: String) : Adapter<Controller>

Inheritors

Constructors

Link copied to clipboard
constructor(controller: Controller, name: String)

Types

Link copied to clipboard
interface BlockingStore
Link copied to clipboard
interface EncryptedStore
Link copied to clipboard
interface TypedStore

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val scope: CoroutineScope

Functions

Link copied to clipboard
abstract suspend fun clear()
Link copied to clipboard
abstract suspend fun get(key: String): String?
Link copied to clipboard
open override fun handle(event: ControllerEvent)
fun handle(controller: Controller, event: ControllerEvent)
Link copied to clipboard
operator fun <Result> invoke(function: Controller.() -> Result?): Result?
Link copied to clipboard
suspend fun <Result> invokeSuspend(function: suspend Controller.() -> Result?): Result?
Link copied to clipboard
Link copied to clipboard
abstract suspend fun remove(key: String)
Link copied to clipboard
abstract suspend fun set(key: String, value: String)