gargantext-0.0.7.1.5.3: Search, map, share
Safe HaskellSafe-Inferred
LanguageHaskell2010

Gargantext.Utils.Jobs.State

Documentation

data JobsState t w a #

Constructors

JobsState 

Fields

newJobsState :: forall t w a. (EnumBounded t, Monoid w) => JobSettings -> Map t Prio -> IO (JobsState t w a) #

pushJob :: Ord t => t -> a -> (JobID 'Safe -> a -> Logger w -> IO r) -> JobSettings -> JobsState t w r -> IO (JobID 'Safe) #

pushJobWithTime :: Ord t => UTCTime -> t -> a -> (JobID 'Safe -> a -> Logger w -> IO r) -> JobSettings -> JobsState t w r -> STM (JobID 'Safe) #