set

inline fun <T : Any> CurrentSession.set(value: T?)

Sets a session instance with the type T.

Throws

if no session provider is registered for the type T