periodic-common-1.1.7.0: Periodic task system common.
Safe HaskellNone
LanguageHaskell2010

Periodic.Node

Documentation

newtype Nid Source #

Constructors

Nid ByteString 

Instances

Instances details
Eq Nid Source # 
Instance details

Defined in Periodic.Types.Internal

Methods

(==) :: Nid -> Nid -> Bool #

(/=) :: Nid -> Nid -> Bool #

Ord Nid Source # 
Instance details

Defined in Periodic.Types.Internal

Methods

compare :: Nid -> Nid -> Ordering #

(<) :: Nid -> Nid -> Bool #

(<=) :: Nid -> Nid -> Bool #

(>) :: Nid -> Nid -> Bool #

(>=) :: Nid -> Nid -> Bool #

max :: Nid -> Nid -> Nid #

min :: Nid -> Nid -> Nid #

Show Nid Source # 
Instance details

Defined in Periodic.Types.Internal

Methods

showsPrec :: Int -> Nid -> ShowS #

show :: Nid -> String #

showList :: [Nid] -> ShowS #

Generic Nid Source # 
Instance details

Defined in Periodic.Types.Internal

Associated Types

type Rep Nid :: Type -> Type #

Methods

from :: Nid -> Rep Nid x #

to :: Rep Nid x -> Nid #

Hashable Nid Source # 
Instance details

Defined in Periodic.Types.Internal

Methods

hashWithSalt :: Int -> Nid -> Int #

hash :: Nid -> Int #

type Rep Nid Source # 
Instance details

Defined in Periodic.Types.Internal

type Rep Nid = D1 ('MetaData "Nid" "Periodic.Types.Internal" "periodic-common-1.1.7.0-inplace" 'True) (C1 ('MetaCons "Nid" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString)))

type NodeEnv u rpkt = NodeEnv1 u Nid Msgid (Packet rpkt) Source #

type NodeT u rpkt = NodeT u Nid Msgid (Packet rpkt) Source #

type SessionT u rpkt = SessionT u Nid Msgid (Packet rpkt) Source #

type SessionEnv u rpkt = SessionEnv u Nid Msgid (Packet rpkt) Source #

type SessionEnv1 u rpkt = SessionEnv1 u Nid Msgid (Packet rpkt) Source #

type NodeEnvList u rpkt tp = IOHashMap Nid (NodeEnv u rpkt tp) Source #

runNodeT :: Monad m => NodeEnv u rpkt tp -> NodeT u rpkt tp m a -> m a Source #