Safe Haskell | Safe |
---|---|
Language | Haskell98 |
Arbitrarily long thread delays.
Documentation
delay :: Integer -> IO () Source #
Like Control.Concurrent.
, but not bounded by an threadDelay
Int
.
Suspends the current thread for a given number of microseconds (GHC only).
There is no guarantee that the thread will be rescheduled promptly when the delay has expired, but the thread will never continue to run earlier than specified.