Safe Haskell | None |
---|---|
Language | Haskell2010 |
Network.IRC.Fun.Client.Time
Description
Get the current UTC time and formatted time strings, using auto-update to run the actual action periodically and by demand. In other words, these functions can safely be used at high frequency.
Intended use: Create a single getter in the main thread and pass as needed to other threads for their own use.
- currentTimeGetter :: IO (IO (UTCTime, String))