Package-level declarations

Types

Link copied to clipboard
@Serializable
data class IndexedDBInboundMegolmSession(val value: StoredInboundMegolmSession, val hasBeenBackedUp: Int)
Link copied to clipboard
@Serializable
data class IndexedDBKeyChainLink(val signingUserId: String, val signingKeyId: String, val signingKeyValue: String, val signedUserId: String, val signedKeyId: String, val signedKeyValue: String)
Link copied to clipboard
class IndexedDBReadTransaction(val database: IDBDatabase) : CoroutineContext.Element
Link copied to clipboard
abstract class IndexedDBRepository(val objectStoreName: String)
Link copied to clipboard
class IndexedDBRepositoryTransactionManager(database: IDBDatabase, allObjectStores: Array<String>, testMode: Boolean = false) : RepositoryTransactionManager
Link copied to clipboard
class IndexedDbWriteOperation(val objectStoreName: String, val operation: suspend WrappedTransaction.(WrappedObjectStore) -> Unit)
Link copied to clipboard
class IndexedDBWriteTransaction(val database: IDBDatabase, val testMode: Boolean) : CoroutineContext.Element

Functions

Link copied to clipboard
fun WrappedTransaction.createIndexedDBMinimalStoreRepository(database: IDBDatabase, objectStoreName: String, block: WrappedTransaction.(WrappedObjectStore) -> Unit = {})
fun WrappedTransaction.createIndexedDBTwoDimensionsStoreRepository(database: IDBDatabase, objectStoreName: String, keyPath: KeyPath?, firstKeyIndexName: String, firstKeyIndexKeyPath: KeyPath, block: WrappedTransaction.(WrappedObjectStore) -> Unit = {})
Link copied to clipboard
Link copied to clipboard
suspend fun <T> IndexedDBRepository.withIndexedDBRead(block: suspend WrappedTransaction.(WrappedObjectStore) -> T): T
Link copied to clipboard
suspend fun IndexedDBRepository.withIndexedDBWrite(block: suspend WrappedTransaction.(WrappedObjectStore) -> Unit)