InMemoryOlmSessionRepository

class InMemoryOlmSessionRepository : InMemoryMinimalRepository<KeyValue.Curve25519KeyValue, Set<StoredOlmSession>> , OlmSessionRepository

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
val content: MutableStateFlow<Map<KeyValue.Curve25519KeyValue, Set<StoredOlmSession>>>

Functions

Link copied to clipboard
abstract suspend fun delete(key: KeyValue.Curve25519KeyValue)
Link copied to clipboard
abstract suspend fun deleteAll()
Link copied to clipboard
abstract suspend fun get(key: KeyValue.Curve25519KeyValue): Set<StoredOlmSession>?
Link copied to clipboard
abstract suspend fun save(key: KeyValue.Curve25519KeyValue, value: Set<StoredOlmSession>)
Link copied to clipboard
open override fun serializeKey(key: KeyValue.Curve25519KeyValue): String