periodic-server-1.1.7.1: Periodic task system haskell server
Periodic.Server.GrabQueue
type GrabQueue tp = IOList (GrabItem tp) Source #
newGrabQueue :: MonadIO m => m (GrabQueue tp) Source #
data GrabItem tp Source #
Constructors
Fields
Defined in Periodic.Server.GrabQueue
Methods
(==) :: GrabItem tp -> GrabItem tp -> Bool #
(/=) :: GrabItem tp -> GrabItem tp -> Bool #
pushAgent :: MonadIO m => GrabQueue tp -> IOList FuncName -> IOList JobHandle -> CSEnv tp -> m () Source #
popAgentSTM :: GrabQueue tp -> FuncName -> STM (IOList JobHandle, CSEnv tp) Source #
popAgentList :: MonadIO m => GrabQueue tp -> FuncName -> m [(IOList JobHandle, CSEnv tp)] Source #