Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Yesod.Session.Storage.Save
Synopsis
- save :: Monad tx => Options tx m -> (forall a. StorageOperation a -> tx a) -> SessionKeyManager tx -> UTCTime -> SessionMap -> Maybe Session -> tx (Maybe Session)
Documentation
Arguments
:: Monad tx | |
=> Options tx m | |
-> (forall a. StorageOperation a -> tx a) | |
-> SessionKeyManager tx | |
-> UTCTime | The current time |
-> SessionMap | The new session data to be saved |
-> Maybe Session | What's in the database |
-> tx (Maybe Session) |