Safe Haskell | None |
---|
- module Happstack.State.Saver.Types
- data PrefixLock
- data Saver
- createReader :: Serialize a => Saver -> String -> Int -> IO (ReaderStream a)
- createWriter :: Serialize a => Saver -> String -> Int -> IO (WriterStream a)
- obtainLock :: Saver -> IO (Maybe PrefixLock)
- releaseLock :: Maybe PrefixLock -> IO ()
Documentation
module Happstack.State.Saver.Types
data PrefixLock Source
createReader :: Serialize a => Saver -> String -> Int -> IO (ReaderStream a)Source
Dispatches over the Saver type provided to return a ReaderStream
for the inferred
type.
createWriter :: Serialize a => Saver -> String -> Int -> IO (WriterStream a)Source
Dispatches over the Saver type provided to return a WriterStream for the inferred type.
obtainLock :: Saver -> IO (Maybe PrefixLock)Source
releaseLock :: Maybe PrefixLock -> IO ()Source