tiny-scheduler-0.1.4.3: tiny no-brainer job scheduler
TinyScheduler.Utils
Description
Main function that calculates thread delay associated with each job
Synopsis
calculateDelay :: Interval -> Int -> UTCTime -> UTCTime -> [Int] Source #
this is the thread delay, calculated as [unit: microseconds)] (startTime - currentTime) + (interval * multiplier)