Context

abstract class Context<Session, Database>

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard

Properties

Link copied to clipboard
abstract val database: Database

Functions

Link copied to clipboard
abstract fun closeSession(session: Session)
Link copied to clipboard
abstract fun isClosedSession(session: Session): Boolean
Link copied to clipboard
abstract fun newSession(): Session
Link copied to clipboard
abstract suspend fun <T> runTransactionally(block: suspend CoroutineScope.() -> T): T
Link copied to clipboard
suspend fun <T> withTransactionScope(block: suspend CoroutineScope.() -> T): T