Temporal representations and clock operations (read current time and pause thread).
- data Time
- as_ntpi :: Time -> Integer
- as_utcr :: Time -> Double
- ntpr_ntpi :: Double -> Integer
- ntpi_ntpr :: Integer -> Double
- utcr_ntpi :: Double -> Integer
- ntpr_utcr :: Double -> Double
- ntpi_utcr :: Integer -> Double
- utc_base :: UTCTime
- utcr :: IO Double
- ntpi :: IO Integer
- pauseThread :: Double -> IO ()
- pauseThreadUntil :: Double -> IO ()
- immediately :: Time
Documentation
Time is represented in either UTC or NTP form.
pauseThread :: Double -> IO ()Source
Pause current thread for the indicated duration, given in seconds.
pauseThreadUntil :: Double -> IO ()Source
Pause current thread until the given utcr time.
Execute the bundle immediately.