tiny-scheduler-0.1.4.3: tiny no-brainer job scheduler

Safe HaskellSafe
LanguageHaskell2010

TinyScheduler.Jobs

Description

Main Datatype to hold information about a job, and function to calculate thread delay

Synopsis

Documentation

data Job a Source #

Main datatype to hold job Information

Constructors

Job 

Fields

makeJob :: Int -> Int -> Interval -> UTCTime -> IO a -> Job a Source #

Function to generate job from information about id, no of hits, interval | startTine and the a function with side effects

timeAtomToJob :: Int -> IO a -> UTCTime -> TimeAtom -> Job a Source #

Convert time atom to Job