| Safe Haskell | Safe-Inferred |
|---|
Control.Concurrent.Delay
Description
Delay the current thread with an unbound number of milliseconds.
- delayMicrosecs :: Integer -> IO ()
- delayMillisecs :: Integer -> IO ()
- delaySeconds :: Integer -> IO ()
- delayMinutes :: Integer -> IO ()
- delayHours :: Integer -> IO ()
- delayDays :: Integer -> IO ()
Documentation
delayMicrosecs :: Integer -> IO ()Source
Suspends the current thread for a given number of microseconds.
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.
delayMillisecs :: Integer -> IO ()Source
Delay the current thread for at least n milliseconds.
delaySeconds :: Integer -> IO ()Source
Delay the current thread for at least n seconds.
delayMinutes :: Integer -> IO ()Source
Delay the current thread for at least n minutes.
delayHours :: Integer -> IO ()Source
Delay the current thread for at least n hours.