Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
data StoreBuffersLock Source #
Instances
Show StoreBuffersLock Source # | |
Defined in Proteome.PersistBuffers showsPrec :: Int -> StoreBuffersLock -> ShowS # show :: StoreBuffersLock -> String # showList :: [StoreBuffersLock] -> ShowS # | |
Eq StoreBuffersLock Source # | |
Defined in Proteome.PersistBuffers (==) :: StoreBuffersLock -> StoreBuffersLock -> Bool # (/=) :: StoreBuffersLock -> StoreBuffersLock -> Bool # |
data LoadBuffersLock Source #
Instances
Show LoadBuffersLock Source # | |
Defined in Proteome.PersistBuffers showsPrec :: Int -> LoadBuffersLock -> ShowS # show :: LoadBuffersLock -> String # showList :: [LoadBuffersLock] -> ShowS # | |
Eq LoadBuffersLock Source # | |
Defined in Proteome.PersistBuffers (==) :: LoadBuffersLock -> LoadBuffersLock -> Bool # (/=) :: LoadBuffersLock -> LoadBuffersLock -> Bool # |
storeBuffers :: Member (Persist PersistBuffers) r => Members [Lock @@ StoreBuffersLock, AtomicState Env, Rpc, Rpc !! RpcError, Resource, Embed IO] r => Sem r () Source #
decodePersistBuffers :: Member (Persist PersistBuffers) r => Path Rel Dir -> Sem r (Maybe PersistBuffers) Source #
restoreBuffers :: Members [Rpc, AtomicState Env, Log] r => PersistBuffers -> Sem r () Source #
loadBuffers :: Members [Persist PersistBuffers, Lock @@ LoadBuffersLock, Rpc, AtomicState Env, Log, Resource] r => Sem r () Source #