Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
ZRECfg | |
|
defaultConf :: ZRECfg Source #
Instances
Show Event Source # | |
MonadReader (EventQueue, APIQueue) ZRE Source # | |
Defined in Network.ZRE.Types ask :: ZRE (EventQueue, APIQueue) # local :: ((EventQueue, APIQueue) -> (EventQueue, APIQueue)) -> ZRE a -> ZRE a # reader :: ((EventQueue, APIQueue) -> a) -> ZRE a # |
DoJoin Group | |
DoLeave Group | |
DoShout Group ByteString | |
DoShoutMulti Group [ByteString] | |
DoWhisper UUID ByteString | |
DoDiscover UUID Endpoint | |
DoDebug Bool | |
DoQuit |
Instances
Show API Source # | |
MonadReader (EventQueue, APIQueue) ZRE Source # | |
Defined in Network.ZRE.Types ask :: ZRE (EventQueue, APIQueue) # local :: ((EventQueue, APIQueue) -> (EventQueue, APIQueue)) -> ZRE a -> ZRE a # reader :: ((EventQueue, APIQueue) -> a) -> ZRE a # |
type EventQueue = TBQueue Event Source #
ZREState | |
|
Peer | |
|
Instances
MonadIO ZRE Source # | |
Defined in Network.ZRE.Types | |
Applicative ZRE Source # | |
Functor ZRE Source # | |
Monad ZRE Source # | |
MonadBaseControl IO ZRE Source # | |
MonadBase IO ZRE Source # | |
Defined in Network.ZRE.Types | |
MonadReader (EventQueue, APIQueue) ZRE Source # | |
Defined in Network.ZRE.Types ask :: ZRE (EventQueue, APIQueue) # local :: ((EventQueue, APIQueue) -> (EventQueue, APIQueue)) -> ZRE a -> ZRE a # reader :: ((EventQueue, APIQueue) -> a) -> ZRE a # | |
type StM ZRE a Source # | |
Defined in Network.ZRE.Types |
newZREState :: Name -> Endpoint -> UUID -> EventQueue -> APIQueue -> Bool -> ZRECfg -> IO (TVar ZREState) Source #