Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
data QueueStoreData Source #
Instances
MonadQueueStore QueueStore STM Source # | |
Defined in Simplex.Messaging.Server.QueueStore.STM addQueue :: QueueStore -> RecipientPublicKey -> (RecipientId, SenderId) -> STM (Either ErrorType ()) Source # getQueue :: forall (a :: Party). QueueStore -> SParty a -> QueueId -> STM (Either ErrorType QueueRec) Source # secureQueue :: QueueStore -> RecipientId -> SenderPublicKey -> STM (Either ErrorType ()) Source # suspendQueue :: QueueStore -> RecipientId -> STM (Either ErrorType ()) Source # deleteQueue :: QueueStore -> RecipientId -> STM (Either ErrorType ()) Source # |
type QueueStore = TVar QueueStoreData Source #
updateQueues :: QueueStore -> RecipientId -> (QueueStoreData -> QueueRec -> (Either ErrorType (), QueueStoreData)) -> STM (Either ErrorType ()) Source #