Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data SessionsContext = SessionsContext {}
- sessionsConfig :: Lens' SessionsContext SessionsConfig
- nextSessionId :: Lens' SessionsContext (MVar Int)
- sessionsConfig_Sctx :: Lens' SessionsContext SessionsConfig
- nextSessionId_Sctx :: Lens' SessionsContext (MVar Int)
- acquireNewSessionTag :: SessionsContext -> IO Int
- makeSessionsContext :: SessionsConfig -> IO SessionsContext
- makeDefaultSessionsContext :: IO SessionsContext
- sessionExceptionHandler :: Exception e => SessionComponent -> Int -> SessionsContext -> e -> IO ()
Documentation
data SessionsContext
Contains information that applies to all sessions created in the program. Use the lenses interface to access members of this struct.
TODO: members of this record should be renamed to the "suffix" convention.
SessionsContext | |
|
sessionExceptionHandler :: Exception e => SessionComponent -> Int -> SessionsContext -> e -> IO ()