set

inline fun <T : Any> CurrentSession.set(value: T?)(source)
fun <T : Any> CurrentSession.set(value: T?, klass: KClass<T>)(source)

Sets a session instance with the type T.

Report a problem

Throws

if no session provider is registered for the type T