simplexmq-6.5.0.16: SimpleXMQ message broker
Safe HaskellSafe-Inferred
LanguageHaskell2010

Simplex.Messaging.Server.NtfStore

Documentation

newtype NtfStore Source #

Constructors

NtfStore (TMap NotifierId (TVar [MsgNtf])) 

data MsgNtf Source #

Constructors

MsgNtf 

Fields

Instances

Instances details
StrEncoding MsgNtf Source # 
Instance details

Defined in Simplex.Messaging.Server.NtfStore

Methods

strEncode :: MsgNtf -> ByteString Source #

strDecode :: ByteString -> Either String MsgNtf Source #

strP :: Parser MsgNtf Source #

data NtfLogRecord Source #

Constructors

NLRv1 NotifierId MsgNtf 

Instances

Instances details
StrEncoding NtfLogRecord Source # 
Instance details

Defined in Simplex.Messaging.Server.NtfStore

Methods

strEncode :: NtfLogRecord -> ByteString Source #

strDecode :: ByteString -> Either String NtfLogRecord Source #

strP :: Parser NtfLogRecord Source #

deleteExpiredNtfs :: NtfStore -> Int64 -> IO Int Source #