set

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

Set session instance with type T

Exceptions

IllegalStateException - if no session provider registered for type T