tiny-scheduler-0.1.1.1: 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

calculateDelay :: UTCTime -> UTCTime -> Interval -> Int -> [Int] Source #

this is the thread delay, calculated as [unit: microseconds)] (startTime - currentTime) + (interval * multiplier)