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

Safe HaskellSafe
LanguageHaskell2010

TinyScheduler.Utils

Description

Main function that calculates thread delay associated with each job

Synopsis

Documentation

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

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