Package 

Class SessionLocalKt

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final static <ERROR CLASS> SessionLocal
    • Method Summary

      Modifier and Type Method Description
      final <ERROR CLASS> getSessionLocal() CompositionLocal for the Session currently provided by SessionScope
      final static Unit SessionScope(Session session, Function1<Session, Unit> content) Wraps content with a CompositionLocalProvider which allows the current Session to be accessed through the SessionLocal composition local, as well as the session's room object through the RoomLocal composition local.
      final static Session requireSession(Session session) Returns the session, or if null/no-arg, the currently provided SessionLocal.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait